Jump to content

string to variable


kuwalda

Recommended Posts

Posted

I have simple question - if I have string value, can I use it as variable?

  
example = { } 
example[settings][1] = "thePlayer" 
example[settings][2] = "root" 
example[settings][3] = "functionX" 
  
if isElementVisibleTo ( marker, example[settings][1] ) then 
  

Posted
any alternitives to this?

If you can give an example of what exactly you are trying to do, then we can possibly give a better solution.

Posted

loadstring(raceActive["participate"]) does not work with if ( #loadstring(raceActive["participate"]) - 1 == value ) then

Anyone can think out some alternative for using it here? :|

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...