View Single Post
  #10  
Old 09-27-2007, 07:30 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
An easy way to fix this is having an event each time a variable changes... Such as:

PHP Code:
function variableChangedvarNameoldValuenewValue )
  {
  
triggerclient(stuff_here"updateVar"this.namevarNamenewValue );
  } 
Then having the clientside find the TStaticVar name:

(@ this.name ).(@ varName ) = newValue;

The this.name should be matching on both clientside and serverside for this to work, however... But it would be one method to do it.
Reply With Quote