Quote:
|
Originally Posted by Andy0687
Not sure if youve tried it but just dont display any weapons with a - in the front.
PHP Code:
if (obj.substring(0,1) != "-") {
}
Not sure of any of your code or what you have or havent tried, when you are looking at the weapon-name just make sure the first mark isnt a dash, if it is, just skip over it.
|
Good advice, -Weapons are supposed to be invisible anyway. However, you should use if(obj.starts("-")) instead of the substring variation.