TogglePlayerSpectating - 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 (
/showthread.php?tid=532957)
TogglePlayerSpectating -
Sarra - 21.08.2014
After TogglePlayerSpectating(playerid, 1); SetPlayerCameraPos and SetPlayerCameraLookAt don't work, , I even tested it with a /test command
pawn Код:
CMD:test(playerid, params[])
{
TogglePlayerSpectating(playerid, 1);
SetPlayerCameraPos(playerid, anyX, anyY, anyZ);
SetPlayerCameraLookAt(playerid, x, y, z);
and the reult is always the same:
http://i.imgur.com/H4jHOIe.jpg
Re: TogglePlayerSpectating -
Stinged - 21.08.2014
If you use TogglePlayerSpectating without PlayerSpectate(Player/Vehicle), the camera pos and look at will always stay there.