20.06.2009, 14:09
how to i change this so that it detects if u [number] in ur name? so if ur name is '[4]Mowgli' or 'mowgli[6]' or somthing... u get kicked
Код:
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof(pName));
if(strfind(pName,"_",true) == -1) { Kick(playerid); }
return 1;
}

