View Single Post
  #2  
Old 09-17-2009, 07:10 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by DustyPorViva View Post
I set various clientr.vars with my system. For example, I have one that increases a clientr.var whenever I slash a bush, like so:
findplayer(params[1]).clientr.bushstat += params[2];
Which increases appropriately by params[2].

However, I also have clientr.vars that enables/disables certain modes in my system, like so:
findplayer(params[1]).clientr.enablesword = params[2];
Which sets it to true/false.

The first example shows up in my client.vars list in RC. The second does not. The second is recognized by scripts however(as my scripts function fine), but like I said... it doesn't appear in my player attributes on RC. Does this have to do with true/false being used in client.vars or something?
if the flag is set to true, it will appear in the list, if it is false, it won't.

If it doesn't exist, it will evaluate to false.
Reply With Quote