30.07.2015, 21:51
Код:
if(sscanf(params, "ui", id )) return SendClientMessage(playerid, 0xFFFF00FF, "Syntax: /heal (id)");
if(sscanf(params, "ui", id )) return SendClientMessage(playerid, 0xFFFF00FF, "Syntax: /heal (id)");
if (strcmp("/dhealme", cmdtext, true, 10) == 0) { new str[128], id; { if(sscanf(params, "ui", id )) return SendClientMessage(playerid, 0xFFFF00FF, "Syntax: /heal (id)"); if(id == playerid) return SendClientMessage(playerid, 0xFFFF00FF, "You cant use this command to yourself."); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFFFF00FF, "Not found."); { Healme[id] = 1; } } return 1; } return 0; }