wgnsy123 Posted May 12, 2015 Share Posted May 12, 2015 Hi, i change name of weapon "M4" to "M4 CCO" and if i click equip do nothing ;/ I change name in: survivorsystem, spawn, login, editor_client, inventory, pickups, vehicles_spawn... Link to comment
Walid Posted May 12, 2015 Share Posted May 12, 2015 Hi, i change name of weapon "M4" to "M4 CCO" and if i click equip do nothing ;/I change name in: survivorsystem, spawn, login, editor_client, inventory, pickups, vehicles_spawn... post full code here Link to comment
wgnsy123 Posted May 12, 2015 Author Share Posted May 12, 2015 inventory: elseif itemName == "M4A1 CCO" or itemName == "AK-47" or itemName == "CZ 550" or itemName == "Winchester 1866" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Sawn-Off Shotgun" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "Lee Enfield" then weaponAmmoTable = { ["G17 Mag"] = { {"G17", 22}}, ["M1911 Mag"] = { {"M1911", 22}}, ["M9 SD Mag"] = { {"M9 SD", 23}}, ["Desert Eagle Mag"] = { {"Desert Eagle", 24}}, ["PDW Mag"] = { {"PDW", 28}}, ["MP5A5 Mag"] = { {"MP5A5", 29}}, ["AK Mag"] = { {"AK-47", 30}}, ["STANAG Mag"] = { {"M4A1 CCO", 31}}, pickups: {"M4A1 CCO",356,1,90,2.4}, on itemTable ["STANAG Mag"] = { {"M4A1 CCO",31}, }, WeaponAmmoTable elseif itemName == "M4A1 CCO" or itemName == "AK-47" or itemName == "CZ 550" or itemName == "Winchester 1866" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Sawn-Off Shotgun" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "Lee Enfield" then removeBackWeaponOnDrop() And in the others i change "M4" TO "M4A1 CCO" - easy change, but not work. Link to comment
CoreyHUN Posted May 12, 2015 Share Posted May 12, 2015 Open all the scripts, CTRL+H and replace all M4 with M4A1 CCO in all documents Link to comment
wgnsy123 Posted May 13, 2015 Author Share Posted May 13, 2015 I have this in survivor system: --Weapon Property setWeaponProperty ("m4","poor","maximum_clip_ammo",30) setWeaponProperty ("m4","std","maximum_clip_ammo",30) setWeaponProperty ("m4","pro","maximum_clip_ammo",30) "m4" change to "m4a1 cco" ? (standard name of m4 is "M4") Link to comment
wgnsy123 Posted May 13, 2015 Author Share Posted May 13, 2015 Aa.. its not for item name. Well... Where i have a "M4", not "M4 CCO" ? I look all scripts and change "M4" to "M4 CCO" - if i click equip do nothing, not error, nothing. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now