Recently, I've been working on something of a file editor for my own personal use during server developement. But, I seem to be having a problem when it comes to placing the data I've loaded from the server into a GuiMLTextEditCtrl you see. It's not quite having the effect I wanted. :O
Code:
PHP Code:
public function onNodeSelected(obj, node, nodeslashpath, nodedotpath) {
temp.data = null;
temp.text = "";
if (!node.isfile) return;
if (node.filedata.length() > 0) {
player.chat = "Have data!";
for (data: node.filedata) {
temp.text @= "<br>" @ data @ "</br>";
}
FileEdit.text = temp.text;
}
}
PIC BELOW.