Anonymous
public text v1 · immutable if(strcmp(cmd, "/heal", true) == 0) { && if(IsPlayerAdmin(playerid)) {
GivePlayerMoney(playerid, -400);
SetPlayerHealth(playerid, 100.0);
SendClientMessage(playerid, COLOR_RED, "You have healed yourself, costing you $400.");
return 1;
}