spawn weapon on ground?
#1

Hi,

I'm wanting to spawn a weapon on the ground that players will be able to pickup.

I am currently using this code:
Код:
   if(pickupid == Gnade1)
    {
        Gnade1 = CreatePickup(342,1,2000.6320,1566.6492,15.3671);
	GivePlayerWeapon(playerid, 342, 1); // 342 - Frag Grenade | playerid | weaponid | ammo |
        return 1;
	}
The item is picked up but does not get given to the player, any ideas? Thanks.
Reply


Messages In This Thread
spawn weapon on ground? - by sheepondrugs - 11.08.2010, 21:50
Re: spawn weapon on ground? - by Kitten - 11.08.2010, 21:52
Re: spawn weapon on ground? - by sheepondrugs - 11.08.2010, 21:56
Re: spawn weapon on ground? - by Hiddos - 11.08.2010, 21:58
Re: spawn weapon on ground? - by sheepondrugs - 11.08.2010, 22:00
Re: spawn weapon on ground? - by Kitten - 11.08.2010, 22:00
Re: spawn weapon on ground? - by sheepondrugs - 11.08.2010, 22:04
Re: spawn weapon on ground? - by Kitten - 11.08.2010, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)