spawn weapon on ground?
#3

This is what I have: (hope it helps explain it better)


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

   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;
	}
}

Код:
public OnGameModeInit()
{
Gnade1 = CreatePickup(342,1,2000.6320,1566.6492,15.3671);
return 1;
}
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: 4 Guest(s)