Quote:
Originally Posted by [Full]Garfield[XDB]
pawn Код:
if(strcmp(cmd, "/meal", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { if(IsAtMeal(playerid)) { ShowPlayerDialog(playerid,Dialog_Meal,DIALOG_STYLE_LIST,"{278227}Meal","Cheese Burger\nSuc","Selecteaza","Inchide"); } else { SendClientMessage(playerid, COLOR_GREY, " Nu esti la la Meal! !"); } } else { SendClientMessage(playerid, COLOR_GREY, " sdas !"); } return true; }
|
thanks but i got a question. if i put like this how can i make the health to go up not down?
PHP код:
SetPlayerHealth(playerid, health -5);
i tried like this too
PHP код:
SetPlayerHealth(playerid, health +5);