SA-MP Forums Archive
Help with kick :D - 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 with kick :D (/showthread.php?tid=205134)



Help with kick :D - Linus- - 31.12.2010

Hi
i need help
how can i make if my name is 'lol' i will be auto kicked by server
can anyone help me with this?


Re: Help with kick :D - HyperZ - 31.12.2010

pawn Код:
public OnPlayerConnect(playerid)
{
new pName[24];
GetPlayerName(playerid,pName,sizeof(pName));
if(!strcmp("lol",pName,true))
{
Kick(playerid);
}
return 1;
}



Re: Help with kick :D - Linus- - 31.12.2010

Thnx.


Re: Help with kick :D - HyperZ - 31.12.2010

Quote:
Originally Posted by Linus-
Посмотреть сообщение
Thnx.
Welcome.