SA-MP Forums Archive
Blocking a player from pressing Spawn problem - 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: Blocking a player from pressing Spawn problem (/showthread.php?tid=507751)



Blocking a player from pressing Spawn problem - DarkLored - 19.04.2014

Hello guys so i have been trying to block the player from pressing spawn while on class selection i seem to fail.
is there any way to detect if the player is pressing spawn during OnPlayerRequestClass callback?

any information will help.


Re: Blocking a player from pressing Spawn problem - Flake. - 19.04.2014

This would work, https://sampwiki.blast.hk/wiki/OnPlayerRequestSpawn


Re: Blocking a player from pressing Spawn problem - DarkLored - 19.04.2014

Thank you it really helped +1.