21.09.2017, 03:03
Код:
dcmd_poke(playerid, params[]) { new id; if(sscanf(params, "u", id)) SendClientMessage(playerid, COLOR_YELLOW, "[USAGE]:[/]poke <id>"); else if(id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, "[ERROR] player is not connected!"); else SendClientMessage(playerid, COLOR_RED, "[ERROR] You can't poke yourself?"); return 1; }
You Poked player1
player1 has poked you