View Single Post
  #1  
Old 04-12-2012, 03:04 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
GuiTextEditCtrl assigning and showing variables help

How do I make a gui text a string?
Where as client.intro = 5;
Dev_Client_Var = "client.intro";

function Dev_Client_OK.onAction(){
(""@"player."@Dev_Client_Var.text) = 15;
}

I want player.client.intro = 15;
But I can't seem to do it..
It either says 5, or 0..

I've been messing around with it... Not sure what to do.

PHP Code:
function Dev_Client_OK.onAction(){
//player.Dev_Client_Var.text = 15;
  
player.chat "player."@Dev_Client_Var.text;
  
sleep(1); 
  
player.chat "player."(""@Dev_Client_Var.text);
  
sleep(1);
//(""@Dev_Client_Var.text = Dev_Client_NewVar.text; 

Yet I can't even get this to show it as a string.
player.client.intro = 15;
instead it is basically doing 5 = 15... Which doesn't make sense.
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2012-04-11 at 8.49.46 PM.png
Views:	164
Size:	12.3 KB
ID:	54491  
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz




Last edited by Devil_Lord2; 04-12-2012 at 07:58 AM..
Reply With Quote