Jump to content

[Help]Table Problem


3B00DG4MER

Recommended Posts

If you want a quicker version, you could use this(it's up to you though, maybe you prefer the easier to understand one)

mine_pos = 
{ 
{271.94140625, 1350.1923828125, 10.5859375}, 
{275.94140625, 1350.1923828125, 10.5859375}, 
} 
mineplace = createMarker(unpack(minepos[math.random(#mine_pos)])) 

This will only work if you keep the arrays x, y, z coordinates only though.

Link to comment
If you want a quicker version, you could use this(it's up to you though, maybe you prefer the easier to understand one)
mine_pos = 
{ 
{271.94140625, 1350.1923828125, 10.5859375}, 
{275.94140625, 1350.1923828125, 10.5859375}, 
} 
mineplace = createMarker(unpack(minepos[math.random(#mine_pos)])) 

This will only work if you keep the arrays x, y, z coordinates only though.

Thanks

Link to comment

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...