Problem with nick
#3

Quote:

public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(!strfind(name, "con", true))
{
SendClientMessage(playerid, 0x0000ff, "Name not allowed.");
Kick(playerid);
}
return 1;
}

i have this code it works but when i join example with "coner" it kick that nick too.
Reply


Messages In This Thread
Problem with nick - by ultrAslan - 17.06.2015, 17:25
Re: Problem with nick - by AndySedeyn - 17.06.2015, 18:32
Re: Problem with nick - by ultrAslan - 17.06.2015, 19:12
Re: Problem with nick - by AndySedeyn - 17.06.2015, 19:15

Forum Jump:


Users browsing this thread: 3 Guest(s)