View Single Post
  #5  
Old 01-06-2006, 01:42 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
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.
__________________
Reply With Quote