Error: Your message is so long, or reached the maximum letters number.
#1

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.

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)