(simple command) /buy
#9

pawn Код:
CMD:buy(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, x, y, z) // Change the range and the x, y, z to the position that you desire!
    {
        GivePlayerWeapon(playerid, 14, 300);
        GivePlayerMoney(playerid, -money);
        SendClientMessage(playerid, -1, "You've successfully purchased the flowers!.");
    }
    return 1;
}
I hope I helped!.
Reply


Messages In This Thread
(simple command) /buy - by vegaltasendai - 29.03.2014, 01:18
Re: (simple command) /buy - by RenovanZ - 29.03.2014, 01:27
Re: (simple command) /buy - by vegaltasendai - 29.03.2014, 01:54
Re: (simple command) /buy - by RenovanZ - 29.03.2014, 02:09
Re: (simple command) /buy - by vegaltasendai - 29.03.2014, 02:39
Re: (simple command) /buy - by Mriss - 29.03.2014, 02:51
Re: (simple command) /buy - by vegaltasendai - 29.03.2014, 03:05
Re: (simple command) /buy - by DarkLored - 29.03.2014, 03:10
Re: (simple command) /buy - by Stanford - 29.03.2014, 05:33
Re: (simple command) /buy - by vegaltasendai - 29.03.2014, 14:44

Forum Jump:


Users browsing this thread: 3 Guest(s)