22.09.2013, 14:02
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:
Thanks in advance.
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;
}