yo, help
#3

You'd need to do the following.

Put below the Includes:
Код:
new gun1;
Put in OnGameModeInit:
Код:
gun1 = CreatePickup(model, type, X, Y, Z);
Put in OnPlayerPickupPickup:
Код:
If(pickupid == gun1)
    {
       GivePlayerWeapon(playerid, weaponid, ammo);
    }
    return 1;
That's how you properly make a weapon pickup.

Also -
Change the pickup model, type and add cords for CreatePickup.
Change the weaponid and ammo for GivePlayerWeapon.
Reply


Messages In This Thread
yo, help - by Taz86 - 02.04.2009, 23:21
Re: yo, help - by Taz86 - 02.04.2009, 23:32
Re: yo, help - by BigPoncho - 02.04.2009, 23:37
Re: yo, help - by pen_theGun - 02.04.2009, 23:56
Re: yo, help - by BigPoncho - 02.04.2009, 23:57
Re: yo, help - by Taz86 - 03.04.2009, 10:29
Re: yo, help - by Taz86 - 03.04.2009, 10:45
Re: yo, help - by Taz86 - 03.04.2009, 10:50
Re: yo, help - by Donvalley - 03.04.2009, 10:52
Re: yo, help - by Nero_3D - 03.04.2009, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)