23.05.2012, 15:29
right and SendClientMessage will only print the first 128
so even if you sent 256 or whatever it will always prinbt the first 128,
counting the color codes and brackets also.
I suggest sending all the info one line but the reason and then send a second client message with the reason
so even if you sent 256 or whatever it will always prinbt the first 128,
counting the color codes and brackets also.
I suggest sending all the info one line but the reason and then send a second client message with the reason
pawn Код:
new string[128];
format(string,sizeof(string),"[INFO]{C0C0C0} Player {FFFF00}%s (ID %d){C0C0C0} has been banned by {FFFF00}%s (ID %d)",GetName(playerid2),playerid2,GetName(playerid),playerid);
SendClientMessageToAll(yellow,string);
format(string,sizeof(string),"(Reason: %s)!",reason); //now reason can be 119 chars long
SendClientMessageToAll(0xC0C0C0,string);

