Quantcast

Jump to content

» «
Photo

How to spawn an armour pickup?

1 reply to this topic
TheLastStarFighterOfPlanetXenon
  • TheLastStarFighterOfPlanetXenon

    Player Hater

  • BUSTED!
  • Joined: 19 Feb 2013

#1

Posted 15 March 2013 - 04:17 AM Edited by TheLastStarFighterOfPlanetXenon, 15 March 2013 - 04:22 AM.

Title says it all, i tried creating a pickup with "PICKUP_ARMOUR" and it just spawns a little cube... any help?

CODE
Pickup pickup = Pickup.CreatePickup(position, "PICKUP_ARMOUR", PickupType.Weapon);//spawns a stupid cube

Pickup pickup = Pickup.CreateWeaponPickup(position, Weapon.Misc_Armor, 1);//does nothing, i even tried setting ammo to 100


so annoying, i could create a pickup manually but that is lame, code is in c# but if u know how in c++ or even vb that will help me too wink.gif

THE R34P3R
  • THE R34P3R

    十JR

  • Members
  • Joined: 27 Jun 2012

#2

Posted 17 March 2013 - 06:39 AM

Are you trying to give it or spawn it




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users