Hermes
dziwki kola gramy w lola
Hi there.
I have one, simple question, to improve my scripting skills.
There's table:
And I want to make a loop for randomizer, so:
with randomizer
as a first number in table I want script to assign text to those number (ofc number depends on randomizer).
Yeah, I know I have missed some of my LUA lessons with loops xD
Thanks in advance!
Regards,
Hermes
I have one, simple question, to improve my scripting skills.
There's table:
Code:
local table = {
1 = "first option",
2 = "second option",
3 = "third option",
10 = "tenth option"
}
And I want to make a loop for randomizer, so:
with randomizer
Code:
math.random(1,10)
Yeah, I know I have missed some of my LUA lessons with loops xD
Thanks in advance!
Regards,
Hermes