spawn weapon on ground?
#7

This....
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{

   if(pickupid == 342)
    {
        CreatePickup(342,1,2000.6320,1566.6492,15.3671);
    GivePlayerWeapon(playerid, 342, 1); //342 - Frag Grenade | playerid | weaponid | ammo |
        return 1;
    }
..should be this:

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{

   if(pickupid == 342)
    {
        CreatePickup(342,1,2000.6320,1566.6492,15.3671);
    GivePlayerWeapon(playerid, 16, 1); //342 - Frag Grenade | playerid | weaponid | ammo |
        return 1;
    }
dam my sleepness. Thanks for all the replies!
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: 5 Guest(s)