Since weaponname isnt a weapon u get a error >.>
Ok before you say yes I did look at the tutorial but i just keep getting syntax errors.
i use this but i get syntax errorCode:if(sWeapon == "weaponname_mp") // use if(isSubStr(sWeapon, "cheytac_")) if you want the weapon to do the damage no matter which attachments iDamage = 100;
can someone just give me the line of code to put into the damage file to edit for different guns
thanks
Since weaponname isnt a weapon u get a error >.>
well i obviously changed that part, i was just showing what i started with
thanks but thats the tut i said i got errors from
thanks but in the end i solved the problem with this code:
so its a bit different from what i had but it now worksCode:if(isSubStr(sWeapon, "barrett_")) iDamage = 150;