Buygun problem
#3

pawn Код:
if(strcmp("/buygunsawnoff", cmdtext, true, 13) == 0)
    {
        if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "You dont have the Money for that");
        if(IsInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_DBLUE, "You must leave the DM First. type /kill to leave.");
        GivePlayerWeapon(playerid, 28, 256); //< ID 28 is Micro Uzi
        GivePlayerMoney(playerid, -10000);
        return 1;
    }
pawn Код:
GivePlayerWeapon(playerid, weaponid, ammunition);
Get weapon IDs here:
https://sampwiki.blast.hk/wiki/Weapon_IDs
Reply


Messages In This Thread
Buygun problem - by Frankox - 09.07.2009, 11:11
Re: Buygun problem - by Frankox - 09.07.2009, 12:01
Re: Buygun problem - by Lazarus - 09.07.2009, 13:42
Re: Buygun problem - by Fay-Tony - 09.07.2009, 14:03

Forum Jump:


Users browsing this thread: 2 Guest(s)