05.07.2018, 21:34
The syntax is integer, string..
+ use isnull macro, not sscanf. First code (commented out) is good. Just change string to 145 as max client message can be up to 144 characters.
EDIT: Why SendClientMessageToAll? You want to send only to player who executes command. Change to SendClientMessage.
pawn Код:
CMD:me(playerid, params[])
EDIT: Why SendClientMessageToAll? You want to send only to player who executes command. Change to SendClientMessage.