TogglePlayerSpectating + Camera Look problems - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: TogglePlayerSpectating + Camera Look problems (
/showthread.php?tid=534141)
TogglePlayerSpectating + Camera Look problems -
Juan.x - 28.08.2014
Hello.
I got a mind-blowing problem.
I want to set the player camera to look at specific coordinates in Los Santos.
Everything works perfectly if i spawn the player and then set his camera to look at these coordinates.
But problem is that i want to remove hud and the minimap, and as far as i know it can only be done with TogglePlayerSpectating.
So when i add TogglePlayerSpectating at OnPlayerConnect and then set the camera to specific coordinates, the camera set doesnt work, it stays looking at Blueberry bridge, but after server restart it works(thats why it is mind-blowing).
Any solutions for this?
And yea, sorry for bad english.
Re: TogglePlayerSpectating + Camera Look problems -
Dotayuri - 28.08.2014
Yes I have 1 wanna test it?
Re: TogglePlayerSpectating + Camera Look problems -
Dotayuri - 28.08.2014
SetPlayerDrunkLevel(playerid, -66);
LOL please tell me if it works, BTW you probably know the side affects of being are drunk LOL
Re: TogglePlayerSpectating + Camera Look problems -
Juan.x - 28.08.2014
Quote:
Originally Posted by Dotayuri
SetPlayerDrunkLevel(playerid, -66);
LOL please tell me if it works, BTW you probably know the side affects of being are drunk LOL
|
I dont need drunk level. Yes it hides minimap and hud but it cant be used for login & register