SA-MP Forums Archive
login 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: login Spawn (/showthread.php?tid=157706)



login Spawn - RatHack - 07.07.2010

Hello

If u are registred, when u join in the server, u must be logged in your account for can spawn,

anyone know?


Re: login Spawn - jonrb - 07.07.2010

assuming you have a login command already:
Код:
OnPlayerRequestSpawn(playerid)
{
    if(!loggedin[playerid]) return 0;
    return 1;
}
change "loggedin" with whatever variable you use