Checking score before spawning!
#2

https://sampwiki.blast.hk/wiki/OnPlayerRequestSpawn

Use this callback instead, it's called when a player tries to spawn so check their score and if it's not enough in order to spawn, return 0 to prevent the player from being spawned.
Reply


Messages In This Thread
Checking score before spawning! - by LeeXian99 - 03.11.2013, 13:54
Re: Checking score before spawning! - by Konstantinos - 03.11.2013, 13:56
Re: Checking score before spawning! - by DaniceMcHarley - 03.11.2013, 13:57
Re: Checking score before spawning! - by LeeXian99 - 03.11.2013, 14:02
Re: Checking score before spawning! - by Konstantinos - 03.11.2013, 14:06
Re: Checking score before spawning! - by LeeXian99 - 03.11.2013, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)