26.03.2013, 14:35
Hello again.
I know that I must delay kick() in order to see message in client and I did it:
But I don't see any messages at all.
Maybe I should decrease str length? :S
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; }
Maybe I should decrease str length? :S