08.05.2013, 16:29
GunPickups = CreatePickup(...); You do need to check if a slot is taken, therefore using an Enum may be more effiicent as you can also retrive information in this case.
OnPlayerPickupPickup - Assign an Array to your pickups (new GunPickups[10]
If thats picked up give them Gun and GunAmmo which was stored in the Enum you created, if YOU made that above you'll understand this. If you never wait for someone to help you write it or goto the script request thread.
OnPlayerPickupPickup - Assign an Array to your pickups (new GunPickups[10]
If thats picked up give them Gun and GunAmmo which was stored in the Enum you created, if YOU made that above you'll understand this. If you never wait for someone to help you write it or goto the script request thread.