[HELP] SendClientMessage Before Kick
#1

I have a big problem,
When Player connects to the server(OnPlayerConnect)
the server checks if his nick includes "[AFK]" Tag,
if yes it sends him message and kicks him but,
I don't know why it just kicks the player without sending a message

Quote:

if(strfind(PlayerName,"[AFK]", true) != -1)// AFK Tag Check
{
SendClientMessage(playerid,COLOR_SERVER," Your nickname includes [AFK] Tag");
Kick(playerid);
return 1;
}

Reply


Messages In This Thread
[HELP] SendClientMessage Before Kick - by PoWerZ - 12.05.2009, 17:39
Re: [HELP] SendClientMessage Before Kick - by Weirdosport - 12.05.2009, 17:42
Re: [HELP] SendClientMessage Before Kick - by PoWerZ - 12.05.2009, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)