Code:
function onStartup()
local i = math.random(1, 3)
end
always returns 1, why? is it because the servers timer is always the same when the script loads?
how can I get a random number into my startup script?
thanks
function onStartup()
local i = math.random(1, 3)
end
math.randomseed(os.time())
function onStartup()
math.randomseed(os.time())
local i = math.random(1, 3)
end