Ok before you say yes I did look at the tutorial but i just keep getting syntax errors.
Code:
if(sWeapon == "weaponname_mp") // use if(isSubStr(sWeapon, "cheytac_")) if you want the weapon to do the damage no matter which attachments
iDamage = 100;
i use this but i get syntax error
can someone just give me the line of code to put into the damage file to edit for different guns
Ok before you say yes I did look at the tutorial but i just keep getting syntax errors.
Code:
if(sWeapon == "weaponname_mp") // use if(isSubStr(sWeapon, "cheytac_")) if you want the weapon to do the damage no matter which attachments
iDamage = 100;
i use this but i get syntax error
can someone just give me the line of code to put into the damage file to edit for different guns
thanks
You miss the "do if"
Code:
if(sWeapon == "weaponname_mp"){
iDamage = 100;
}
Originally Posted by mathieutje12
Since weaponname isnt a weapon u get a error >.>
well i obviously changed that part, i was just showing what i started with