08.03.2018, 12:38
I have this code:
How I can using cmd changemessage change message that sent to player when I type /message.
If you know what I meant,.
Код:
CMD:message(playerid, params[]) { new mess[180]; format(mess, sizeof(mess), "Hey"); SendClientMessage(playerid, COLOR_WHITE, mess); return 1; } CMD:changemess(playerid, params[]) { new message[180]; if(sscanf(params, "s[180]", message)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE:/changemessage <message>"); return 1; }
If you know what I meant,.