31.05.2014, 15:48
How to make something to send message like:
Error: Your message is so long, or reached the maximum letters number.
Example: look at this pawn code, if the message letters is more than 128, send the error message.
Error: Your message is so long, or reached the maximum letters number.
Example: look at this pawn code, if the message letters is more than 128, send the error message.
pawn Код:
CMD:something(playerid, params[])
{
new message[128], targetid;
if(sscanf(params, "us[128]", targetid, message)) return SendClientMessage(playerid, COLOR_WHITE, "/pm [playerid/name] [message]");
return 1;
}