TogglePlayerSpectating - What can I do? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TogglePlayerSpectating - What can I do? (
/showthread.php?tid=146800)
TogglePlayerSpectating - What can I do? -
dcmd_crash - 09.05.2010
When a player joins my server, if they are not registered it will send them to class select. However, if they are registered, it will set them to look at the sea (with TogglePlayerSpectating). Is there anyway I can change where the camera looks at? I tried and it just stayed in the same position...
Re: TogglePlayerSpectating - What can I do? -
Jochemd - 09.05.2010
SetPlayerCameraLookAt. This must work. Else use
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
{
TogglePlayerSpectating(playerid,0);
}
This disables spectating. Not what you want but it would work