18.07.2011, 16:23
pawn Код:
//OnPlayerConnect
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);
if(strfind(name, "[COD]", true) == 0) {
for(new i; i != sizeof List; ++i) {
if(strcmp(name[5], List[i], false) == 0) {
break;
}
}
if(i == sizeof List) {
Kick(playerid);
}
}