24.02.2018, 11:23
Код:
CMD:pm(playerid, params[]) { if(IsPlayerAdmin(playerid)) //Check if is player admin { new id, message[150]; if(sscanf(params, "us[150]", id, message)) return SendClientMessage(playerid, COLOR_WHITE,"Usage: /pm [PlayerID] [Message]"); SendDialogMessage(playerid, id, message); } return 1; }