cnhange this....
#1

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;
}
Reply


Messages In This Thread
cnhange this.... - by Mowgli - 20.06.2009, 14:09
Re: cnhange this.... - by Correlli - 20.06.2009, 14:49
Re: cnhange this.... - by yezizhu - 20.06.2009, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)