When I Increase The String Size It Doesn't Work
#1

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.


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;
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.
Reply


Messages In This Thread
When I Increase The String Size It Doesn't Work - by gtakillerIV - 28.11.2012, 10:35
Re: When I Increase The String Size It Doesn't Work - by Edvin - 28.11.2012, 11:04
Re: When I Increase The String Size It Doesn't Work - by Smally - 28.11.2012, 11:11
Re: When I Increase The String Size It Doesn't Work - by gtakillerIV - 28.11.2012, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)