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 (i = 0; i < temp.stations + 1; i ++) {
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.