You don't get it, I don't want to have to use any type of function to access the weapon.
just WeaponName.function() instead of findweapon(weaponname).function();
It just looks better the first way.
Quote:
|
Originally Posted by ApothiX
PHP Code:
CoolHiddenWeapon = (@"-CoolHiddenWeapon");
CoolHiddenWeapon.GaspPublicFunction();
|
I already use that in scripts, however variables without leaders are global and using this.varname.function(); just looks bad to me :P
While serverside global variables work fine, clientside global variables work sometimes and sometimes not, i'm not exactly sure on the reason.
However this topic is about having a
weapon.hidden variable not the
findweapon() function, everything you all said was completely useless.