• 0
Daave

Dupe fix please

Question

Ok, so im not sure if it is CL or ServerSide so ima post it here. There is a dupe bug with fixed scope guns but i cant find out how to change it. Anyone got some info

Reproduce:
Get a gun with a fixed scope
Take scope off,
Sell it
Scope is still on gun
Repeat

 

I need a fix asap please. I found this but couldn't make sense out of it, thanks!



In file :
exileclient_util_playerequipment_add.sqf

After :
_player addWeaponGlobal _itemClassName;

Write the following:
if (_itemType IN ["AssaultRifle","Rifle","SniperRifle","SubmachineGun","MachineGun","MachineGun"]) then
{ removeAllPrimaryWeaponItems _player;
};

Share this post


Link to post
Share on other sites

5 answers to this question

Advertisement
  • 0

Hello Daave,

Kup was pretty clear with what he stated.  Search for the class name and either delete it or 'REMark' it out.

BUT!  Make a backup of ANY FILE YOU MODIFY FIRST!

Also, while I cannot confirm or deny this, I think the correct way to address this is to NOT put in a 'pre-scoped' weapon.  In other words, have a plain rifle and a plain scope.  Not the 'pre-made' ones.  This has been an ARMA issue for about 1-2 years now. 

 

Good luck!

:)

 

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.