28.11.2012, 10:35
Hey guys, for some reason when I increase my string size it doesn't work, what I mean is that the string doesn't get formated(I guess) so the SendClientMessage doesn't work.
For example if I make the size of the string "string x" to like 140 the SendMessageToAdmins doesn't work, I tried with the function SendClientMessageToAll but still.
This code is under OnPlayerUpdate.
Sorry for the undescriptive(pretty much) title.
Thanks for reading.
pawn Код:
new stringx[128], xname[24];
GetPlayerName(playerid, xname, 24);
format(stringx, sizeof(stringx), ""red"%s "lime"("orange"I"red"D"lime":"red" %i"lime") "orange"might be speed hacking "lime"|",xname, playerid);
SendMessageToAdmins(Yellow, stringx);
SpeedHackWarn[playerid] = 1;
This code is under OnPlayerUpdate.
Sorry for the undescriptive(pretty much) title.
Thanks for reading.