25.08.2010, 15:41
Hi..
I wanted to kick a player if the server finds the tag on his name...
I tried this:
but it also kicks me if I join with 1 of the admin names...
I wanted to kick a player if the server finds the tag on his name...
I tried this:
Код:
new const Admins[][] = { "[TAG]Name1", "[TAG]Name2", "[TAG]Name3", "[TAG]Name4" }; if(strfind(name, "[TAG]", true) != -1){ for(new i=0; i< sizeof Admins; i++){ if(!strcmp(name, Admins[i], true)){ }else{ Kick(playerid); } } }