Forum: Lua/XML Help
08-22-19, 12:27 AM
|
Replies: 12
Views: 2,491
It stops at the end of the table:
for i = 1,...
It stops at the end of the table:
for i = 1, #MinimapButtons do
"#MinimapButtons" means the amount of values in MinimapButtons. So if you have 10 minimap buttons it would be:
for i = 1, 10 do
|
Forum: Lua/XML Help
08-21-19, 12:57 PM
|
Replies: 12
Views: 2,491
He is basically saying that an integer loop is...
He is basically saying that an integer loop is faster than ipairs. But... to be honest...
that really does not matter. You are not doing any stuff which needs a optimized
performance. Your code is...
|