How to make /healme command
#2

Код:
CMD:healme(playerid)
{
    if (GetPlayerMoney(playerid) < 500)
        return SendClientMessage(playerid, -1, "You do not have $500.");

    SetPlayerHealth(playerid, 100.0);
    GivePlayerMoney(playerid, -500);
    SendClientMessage(playerid, -1, "You have payed $500 to heal.");
    return 1;
}
Reply


Messages In This Thread
How to make /healme command - by Immortal99 - 14.08.2016, 13:06
Re: How to make /healme command - by Stinged - 14.08.2016, 13:11
Re: How to make /healme command - by LifeRah - 14.08.2016, 13:25

Forum Jump:


Users browsing this thread: 1 Guest(s)