OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: thirdrm on 03 Oct 2006, 16:29:50

Title: LSR's weapons
Post by: thirdrm on 03 Oct 2006, 16:29:50
Hi, i was recently trying to encorperate some of the lsr us weapons into a mission and they did not work i.e you go to the crate and the crate is screwed up and there will be blank spaces for the guns but not the actual names displayed. The guns in perticular i am refering to are the 1911 and m82.
Title: Re: LSR's weapons
Post by: greg147 on 03 Oct 2006, 19:55:31
What code have you got in your ammo crate? This should work fine:

Code: [Select]
this addWeaponCargo["LSR_m82a1", 3]; this addMagazineCargo["JAM_W127_10mag", 12];
and

Code: [Select]
this addWeaponCargo["LSR_JAM_M1911", 3]; this addMagazineCargo["JAM_M1911mag", 12];
Title: Re: LSR's weapons
Post by: thirdrm on 03 Oct 2006, 21:08:39
Nope, the code works but all it says is take but no weapon and when u click it it doesnt pick anything up.