Quote:
Originally Posted by xXziroXx
Serveroptions are a list of strings, so of course you have to tokenize it to produce an array.
|
O.o this is what I use for parsing a list of Testbed contacts on testbed:
PHP Code:
function onCreated() {
this.attr[10] = serveroptions.contacts;
}
//#CLIENTSIDE
function onCreated() {
this.contacts = (this.attr[10]);
}
function onPlayerTouchsMe() {
for (temp.i:this.contacts) {
temp.post @= " " @ i @ "" NL "";
}
}
and it works fine.