GetPlayerState always returns 9.. - 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: GetPlayerState always returns 9.. (
/showthread.php?tid=331141)
GetPlayerState always returns 9.. -
iPLEOMAX - 03.04.2012
Has anyone ever experienced this? If so, how did you manage to solve it?
If you need more info, I can't give you. Just tell me if you know something/or had such problems.
Positive replies get 7 rep.
Re: GetPlayerState always returns 9.. -
2KY - 03.04.2012
Apparently '9' is PLAYER_STATE_SPECTATING; do you use TogglePlayerSpectating anywhere? Try toggling it to false before checking their state. Does it still return 9?
Re: GetPlayerState always returns 9.. -
ViniBorn - 03.04.2012
You use a spectate system?