dialog_style_msgbox..
#1

Hello everyone, I am having a little problem which I don't seem to know how to fix, this is how it looks like:



Once, I click "Refill" nothing happens...
I don't know why, anyways here's the code:

pawn Код:
if(dialogid == hp)
    {
        if(response)
        {
            if(GetPlayerMoney(playerid) < 1500)
            return SendClientMessage(playerid, COLOR_LIGHTBLUE, "**[Weapon-shop]** {FFFFFF}- You don't have enough money to purchase a health refill.");
            SetPlayerHealth(playerid, 100);
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "**[Weapon-shop]** {FFFFFF}- You have successfully purchased a Health-Refill.");
        }
        return 1;
    }
Thanks in advance.
Reply


Messages In This Thread
dialog_style_msgbox.. - by CesarLT - 22.09.2013, 14:02
Re: dialog_style_msgbox.. - by Konstantinos - 22.09.2013, 14:05
Re: dialog_style_msgbox.. - by King Ace - 22.09.2013, 14:05
Re: dialog_style_msgbox.. - by CesarLT - 22.09.2013, 14:27
Re: dialog_style_msgbox.. - by Konstantinos - 22.09.2013, 14:29
Re: dialog_style_msgbox.. - by CesarLT - 22.09.2013, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)