SA-MP Forums Archive
Kick Player - 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: Kick Player (/showthread.php?tid=127848)



Kick Player - Keeboo13 - 15.02.2010

im making a script from scratch but when i log in i can login without signing in or registering how do i make it so if u spawn without registern or logging you get kicked


Re: Kick Player - Niixie - 15.02.2010

something like,

Код:
public OnPlayerSpawn(playerid)
{
    if(!IsLogged[playerid] == 1)
    {
       Kick(playerid);
    }
    return 1;
}
i guess. how did you define that the player is loggedin?


Re: Kick Player - Keeboo13 - 15.02.2010

i got dat but i dont even have an admin system yet how do i set up da admin system


Re: Kick Player - Niixie - 15.02.2010

Theres plenty of tutorials, search.


Re: Kick Player - Mystique - 16.02.2010

Or you can download a admin script like Ladmin.