SA-MP Forums Archive
[HELP] Death on 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Death on Player Spawn? (/showthread.php?tid=86473)



[HELP] Death on Player Spawn? - FreddeN - 14.07.2009

I have created a login system, but it still allow players to spawn whitout log in.
I want on PlayerSpawn to be like, if they dont login they get killed, "SetPlayerHealth".

Thanks


Re: [HELP] Death on Player Spawn? - c0der. - 14.07.2009

Return false OnPlayerRequestSpawn(playerid) if they aren't logged in so you don't have to mess around with some stupid death shit.


Re: [HELP] Death on Player Spawn? - FreddeN - 14.07.2009

Quote:
Originally Posted by c0der.
Return false OnPlayerRequestSpawn(playerid) if they aren't logged in so you don't have to mess around with some stupid death shit.
Alright, but what the full script?
Like ifPlayerNotLoggedIn, that was just a faked one, so you know what I mean?


Re: [HELP] Death on Player Spawn? - c0der. - 14.07.2009

I thought you had a variable for player status? If you don't how do you plan on checking stuff LOL?