Feche1320 Posted March 11, 2012 Posted March 11, 2012 How can I make a 'global' set and getElementData? I thought about creating an object, but then how could I get that object on another resource? www.host-ar.com.ar
Castillo Posted March 11, 2012 Posted March 11, 2012 setElementData ( root, "myData", "Hello World!" ) getElementData ( root, "myData" ) You can also set the data to the console. setElementData( getElementByIndex ( "console", 0 ), "myData", "Hello World!" ) getElementData( getElementByIndex ( "console", 0 ), "myData" ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Feche1320 Posted March 11, 2012 Author Posted March 11, 2012 OH lol, that will work? www.host-ar.com.ar
drk Posted March 11, 2012 Posted March 11, 2012 Obviously. EPT Team Server Development: 0% Learning C++ | C++ is amazing
Feche1320 Posted March 11, 2012 Author Posted March 11, 2012 Meh I'll add it to root, it's easier >.< Thanks! www.host-ar.com.ar
Castillo Posted March 11, 2012 Posted March 11, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now