help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (
/showthread.php?tid=255072)
help -
jamesbond007 - 14.05.2011
how can i stop a player from spawning after death?
Re: help -
park4bmx - 14.05.2011
well.
you mean like to stop the player from
SetPlayerPos and all that stuff ?
or the funtion
OnPlayerSpawn ?
Re: help -
Djankaa - 14.05.2011
park4 its ok but just put under public OnPlayerDeath(playerid, killerid, reason)
this
TogglePlayerControllable(playerid, false);
Re: help -
jamesbond007 - 14.05.2011
Quote:
Originally Posted by Djankaa
park4 its ok but just put under public OnPlayerDeath(playerid, killerid, reason)
this
TogglePlayerControllable(playerid, false);
|
ty. i forgot about that : D