Trying to get weapons/Entities added to blues unboxing!

WeaponItem(“Damascus Sword” , m9k_damascus, models/weapons/w_damascus_sword.mdl, 20,color(255,60,60))
addWeaponItem(“Thompson Contender G2” , m9k_contender, models/weapons/w_g2_contender.mdl, 10,color(255,60,60))
addWeaponItem(“Minigun” , m9k_minigun, models/weapons/w_m134_minigun.mdl, 5,color(255,60,60))
addWeaponItem(“RailGun” , weapon_railcannon, models/weapons/w_crossbow.mdl, 2,color(255,60,60))
addWeaponItem(“Spiderman’s Gun” , spiderman’s_swep, models/weapons/w_Pistol.mdl, 2,color(255,60,60))

addEntityItem(“Light BitMiner” , bit_miner_light, models/bitminer/bitminerlight.mdl, 25, (0,0,175))

This is the code I added can someone please tell me what’s wrong with it? thanks
-Haxxorz

You need to use a program that’ll show you unfinished strings and incorrect functions- try this:



WeaponItem( "Damascus Sword", 'm9k_damascus', 'models/weapons/w_damascus_sword.mdl', 20, Color( 255, 60, 60 ))
addWeaponItem( "Thompson Contender G2" , 'm9k_contender', 'models/weapons/w_g2_contender.mdl', 10, Color( 255, 60, 60 ))
addWeaponItem( "Minigun", 'm9k_minigun', "models/weapons/w_m134_minigun.mdl", 5, Color( 255, 60, 60 ))
addWeaponItem( "RailGun", 'weapon_railcannon', "models/weapons/w_crossbow.mdl", 2, Color( 255, 60, 60 ))
addWeaponItem( "Spiderman's Gun", "spiderman's_swep", 'models/weapons/w_Pistol.mdl', 2, Color( 255, 60, 60 ))
addEntityItem( "Light BitMiner", "bit_miner_light", "models/bitminer/bitminerlight.mdl", 25, Color( 0, 0, 175 ))


Also, use [ CODE ] tags next time (without two spaces)

I was assuming you wanted to use strings for most of the args rather than referring to a model path variable, and I was also assuming you wanted the last function to be Color.

Thanks