SA-MP Forums Archive
If player spawn? - 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: If player spawn? (/showthread.php?tid=446154)



If player spawn? - Champ - 24.06.2013

how to make. After 15 secs player would not be able to spawn.


Re: If player spawn? - OrMisicL - 24.06.2013

Create a timer to disable the player spawning ability, use a variable to save whether the player can spawn or not, and then return 0 in "OnPlayerSpawn" if he's not