You've set
Dev_Client_Var to
client.intro, so why are you doing
Dev_Client_Var.text?
PHP Code:
//#CLIENTSIDE
function onCreated() {
var = "hello";
player.chat = var;
//not player.chat = var.text
}
edit:
Wait, is Dev_Client_Var a GUI text ctrl?
PHP Code:
new GuiTextCtrl("Dev_Client_Var") {
//all this x and y crap
var = client.intro;
}
new GuiButtonCtrl("Dev_Client_OK") {
//all this x and y crap
}
function Dev_Client_OK.onAction() {
//Are you trying to make it trad Dev_Client_Var.var?
player.chat = "player." @ Dev_Client_Var.var;
}
I'm trying to understand what you're trying to do here but what you just posted didn't make a lot of sense to me.