View Single Post
  #11  
Old 01-07-2009, 06:59 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by xXziroXx View Post
Wrong. Variables/arrays disappear when set to NULL, strings disappear when set to "" (empty string), and TStaticVar's when clearVars()'ed. At least if my memory serves me right.
This doesn't always apply to variables when working with database npcs.
This is what clearEmptyVars(); is good for, clearing all empty vars (0 as value for example) in the current object scope.
__________________
Reply With Quote