Meal Easy Thing
#3

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(playeridhealth -5); 
i tried like this too
PHP код:
SetPlayerHealth(playeridhealth +5); 
Reply


Messages In This Thread
Meal Easy Thing - by Dan_Barocu - 19.06.2012, 00:47
Re: Meal Easy Thing - by zSuYaNw - 19.06.2012, 00:56
Re: Meal Easy Thing - by Dan_Barocu - 19.06.2012, 01:03
Re: Meal Easy Thing - by Randy More - 19.06.2012, 01:17
Re: Meal Easy Thing - by Dan_Barocu - 19.06.2012, 01:26
Re: Meal Easy Thing - by Randy More - 19.06.2012, 01:48
Re: Meal Easy Thing - by Dan_Barocu - 19.06.2012, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)