Disable 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Disable Spawn (
/showthread.php?tid=110619)
Disable Spawn -
Ironboy500 - 27.11.2009
Command to disable spawning for 10 seconds, I know how to use timer, my only question how to disable spawning?
Re: Disable Spawn -
CracK - 27.11.2009
Put player in spectating mode?
https://sampwiki.blast.hk/wiki/TogglePlayerSpectating
Re: Disable Spawn -
DeathOnaStick - 27.11.2009
i guess you need to make OnPlayerSpawn return 0; to make him
NOT spawning.
Cheers.
Re: Disable Spawn -
Rzzr - 27.11.2009
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(playernotallowedtospawn[playerid])
{
return 0;
}
return 1;
}
Something like that.