OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 02 May 2004, 02:03:54

Title: Removing Ammo from ammo crates
Post by: gadolinite on 02 May 2004, 02:03:54
How do you clear absolutely everything out of an ammo crate, what script command does this?
Title: Re:Removing Ammo from ammo crates
Post by: Ice Man 3:16 on 02 May 2004, 02:11:43
removeallweapons this;
Title: Re:Removing Ammo from ammo crates
Post by: gadolinite on 02 May 2004, 03:41:52
removeallweapons gets rid of all "weapons" in a player, not an ammo crate.
Title: Re:Removing Ammo from ammo crates
Post by: Sui on 02 May 2004, 04:12:29
Try:

clearweaponcargo this; clearmagazinecargo this

;)