17.12.2014, 19:10
pawn Код:
forward kick(playerid);
public OnPlayerConnect(playerid)
{
new playername[MAX_PLAYER_NAME+1];
GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
if(strfind(playername,".")!=-1)
{
SendClientMessage(playerid,-1,"You Cannot Use A Name That Contains A . (Period) On This Server");
SetTimerEx("kick",500,false,"i",playerid);
}
return 1;
}
public kick(playerid)
{
Kick(playerid);
return 1;
}