#Paper Posted July 7, 2011 Share Posted July 7, 2011 If i have a table defined as "gameTeams = {}" in SS and then i insert some parameters (always in SS), can i use this one in CS? (whit all defined parameters) Link to comment
#Paper Posted July 7, 2011 Author Share Posted July 7, 2011 and how can i use a SS variable in CS? D: Link to comment
CowTurbo Posted July 7, 2011 Share Posted July 7, 2011 always when u edit tabel, set tabel as elementData. gamesTabel = {} object = createObject ( ID, 0,0,-50 ) -- create custom object for element data setElementData ( object, "TABEL_GAMETEAMS", gamesTabel ) ( After that u can get tabel always. gamesTabel = getElementData ( object, "TABEL_GAMETEAMS" ) Link to comment
DiSaMe Posted July 7, 2011 Share Posted July 7, 2011 It's better not to create an object, but to create an abstract element with createElement instead. Link to comment
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