View Single Post
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 02-11-2018 , 06:41   Re: Weapons War v7.5 (26 Weapons)
Reply With Quote #308

Update Zmd !!
The Method you told doesnt actually worked fully so,
Then i started thinking why its happening and Finally i got it and Fixed the Problem

Now the Problem was , When u change the WeaponData - You are changing data for Menu and Weapondeploy both and also for FirstWEPON equip and WeaponDrop which creates a Big Mess as it is hardcoded everywhere, thats why weaponDeploy cant block those weapons which are not listed in your WEAPONSDATA

So i simply Created another constant like Weaponsdata and took menu settings from it and weapondeploy settings from original WEAPONSDATA , Yeah it really fixed everything now anyone can play with the menu and can Add or Remove weapons they dont like in it
So now the Hardcoding mess is also solved !!

I suggest you to take a Look and implement this, so everyone can Use plugin properly and can simply play with Settings
Thanks ZMD94 for all your Support
instinctpt1 is offline