wgnsy123 Posted May 12, 2015 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...
Walid Posted May 12, 2015 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 Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
wgnsy123 Posted May 12, 2015 Author 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.
Walid Posted May 12, 2015 Posted May 12, 2015 what error you are getting? Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
CoreyHUN Posted May 12, 2015 Posted May 12, 2015 Open all the scripts, CTRL+H and replace all M4 with M4A1 CCO in all documents
wgnsy123 Posted May 13, 2015 Author 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")
wgnsy123 Posted May 13, 2015 Author 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.
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