17.08.2009, 14:03
hi
i need a heal filterscript
/heal = give player 100 hp
pls a Filterscript
i need a heal filterscript
/heal = give player 100 hp
pls a Filterscript
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/heal", cmdtext, true, 5) == 0) { SendClientMessage(playerid,0xFF33FFAA,"You have been healed !"); SetPlayerHealth(playerid,100.0); return 1; } return 0; }
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/heal", cmdtext, true, 5) == 0) { SendClientMessage(playerid,0xFF33FFAA,"You have been healed !"); SetPlayerHealth(playerid,100.0); GivePlayerMoney(playerid, -1000); return 1; } return 0; }