Kick() and send message problem.
#1

Hello again.

I know that I must delay kick() in order to see message in client and I did it:

Код:
stock KickD(playerid, kicker[], text[])
{
	new str[500], na[MAX_PLAYER_NAME];
	GetPlayerName(playerid, na, MAX_PLAYER_NAME);

	format(str, sizeof(str), "[{007FFF}%s{FFFFFF}]{8DEEEE} iљmetė {FFFFFF}[{007FFF}%s{FFFFFF}] {8DEEEE}iљ serverio. Prieћastis: {FFFFFF}[{007FFF}%s{FFFFFF}]", kicker, na, text);
	SendClientMessageToAll(-1, str);

	TogglePlayerControllable(playerid, 0);
    SetTimerEx("KickT", 2000, 0, "d", playerid);
    return 1;
}
But I don't see any messages at all.

Maybe I should decrease str length? :S
Reply


Messages In This Thread
Kick() and send message problem. - by Darth1993 - 26.03.2013, 14:35
Re: Kick() and send message problem. - by Darth1993 - 26.03.2013, 14:41
Re: Kick() and send message problem. - by Darth1993 - 26.03.2013, 14:54
Re: Kick() and send message problem. - by CoaPsyFactor - 26.03.2013, 16:55
Re: Kick() and send message problem. - by park4bmx - 26.03.2013, 16:58
Re: Kick() and send message problem. - by Strike97 - 26.03.2013, 19:01
Re: Kick() and send message problem. - by CoaPsyFactor - 26.03.2013, 19:13
Re: Kick() and send message problem. - by Konstantinos - 26.03.2013, 19:26
Re: Kick() and send message problem. - by GoldZoroGrab - 26.03.2013, 19:53
Re: Kick() and send message problem. - by Drebin - 28.03.2013, 20:18

Forum Jump:


Users browsing this thread: 2 Guest(s)