SA-MP Forums Archive
flying camera - 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: flying camera (/showthread.php?tid=617495)



flying camera - Karolukas123 - 22.09.2016

hey guys, need little help..

in video you will see my problem..

https://*********/PAYifs0e5xE


Re: flying camera - GoldenLion - 22.09.2016

That's because you have TogglePlayerControllable when player connects, and when you log in you probably have SpawnPlayer there so it starts to act like this, because you are trying to spawn the player this way while he is spectating. How you can spawn the player is just remove him from the spectating mode. You should use SetSpawnInfo as well.