30.12.2012, 10:04
You probably have something like this:
Notice how the string we are formatting, is actually less string length than our text length? This is most likely what you have done.
EDIT: Or possibly the other way around
pawn Код:
CMD:chat(playerid, params[])
{
new string[128];
if(sscanf(params, "s", string)) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /chat [text]");
new string2[60];
format(string2,sizeof(string2),"Admin: %s", string);
SendClientMessageToAll(0xFFFF00FF, string2);
return 1;
}
EDIT: Or possibly the other way around