Jump to content
  • 0

Bug G3 Ammo


megaz

Question

Hi Guys any one else had this, I run an overpoch server on napf and it has been brought to my attention the G3 ammo has a major bug Players can have one G3 Mag which can be separated into 4 M24 clips which can then be turned into dmr mag and the G3 clips stays and you can repeat this forever. Only ever needing 1 G3 mag to have an endless supply of M24 or Dmr  :(

 

MegaZ

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi Cen

thanks for this but cant seem to get it to work, Am i adding it correctly.

 

Added this to my custom compiles:

//ui
player_selectSlot =   compile preprocessFileLineNumbers "custom\ui_selectSlot.sqf";  //remove ammo when converted

 

and added the ui_selectSlot.sq, from dayz_code in to my custom folder changing adding those lines:

 

_pos =   ctrlPosition _group;
_pos set [0,((_this select 2) + 0.48)];
_pos set [1,((_this select 3) + 0.07)];

_item = gearSlotData _control;
_rcDisabled = ["vil_20Rnd_762x51_G3"];
if (_item in _rcDisabled) exitWith {};

_conf = configFile >> "cfgMagazines" >> _item;
if (!isClass _conf) then {
  _conf = configFile >> "cfgWeapons" >> _item;

 

But mag still stays after being converted

 

thanks

MegaZ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...