Auto-Kick help
#1

Hi..
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);
			}
		}
	}
but it also kicks me if I join with 1 of the admin names...
Reply


Messages In This Thread
Auto-Kick help - by Sascha - 25.08.2010, 15:41
Re: Auto-Kick help - by Sascha - 25.08.2010, 15:55
Re: Auto-Kick help - by Sascha - 25.08.2010, 16:06

Forum Jump:


Users browsing this thread: 3 Guest(s)