Jump to content

Вопрос по math.random


Recommended Posts

так не проще?

  
local bustable = { 
    "2007.65198, -1648.86047, 13.41406", 
    "1825.22791, -1635.03711, 13.38281", 
    "1855.01685, -1430.47449, 13.39063", 
    "1732.81580, -1296.87122, 13.44294", 
    "1473.19226, -1295.77124, 13.48315", 
    "1443.60376, -1498.26660, 13.37650", 
    "1426.37280, -1716.12439, 13.38281", 
    "1315.06909, -1656.43799, 13.38281", 
    "1359.06250, -1432.39734, 13.38281", 
    "1169.82983, -1392.34473, 13.41728", 
    "930.76508, -1392.92627, 13.26561", 
    "815.24756, -1317.91345, 13.44460", 
    "585.04199, -1320.53748, 13.40609", 
    "526.99365, -1624.20361, 16.63225", 
} 
  
Действиетут (bustable[math.random(1, #bustable)]) 

Где действие.. там спавн, принт и т.д

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