29.05.2011, 11:20
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/kill", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 0); SendClientMessage(playerid, COLOR_GREY, "You have commited suicide!!"); GivePlayerMoney(playerid,-1500); SendClientMessage(playerid, COLOR_RED, "Hospital bills has been taken off, Thanks for your visit."); return 0; } } |