View Single Post
  #2  
Old 09-11-2007, 11:16 PM
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
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.station 1;
  
onLoad();
}
function 
onLoad() {
  
temp.startstring "serverr.station"//serverr.station.# = info,info,info...;
  
temp.stations serverr.stations//serverr.stations = 2;
  
for (0temp.stations 1++) {
    
this.station i;
  }
  
onRadio();
}
function 
onRadio() {
  
temp.info serverr.station.(@ this.station); //this post to return.. info,info,info...;
  //but it just returns 0 or just thinks its just "server.station.1" (thinks of it as a word not a string)

temp. strings are unique to a function and cannot be accessed outside of the function, they are cleared when the function ends.

Also, I really have no idea what you're trying to do with that script, it doesn't look like its doing anything.
__________________
Reply With Quote