ziomal432 Posted July 14, 2010 Share Posted July 14, 2010 I've got this code (example): local tablee = { ["a"] = {5443.0}, ["b"] = {5443.0}, ["c"] = {5443.0}, ["d"] = {5443.0} } addEventHandler("onResourceStart", getResourceRootElement(), function() for txt in pairs(tablee) do print(txt) end end ) But the loop changes sequence of these texts Shows: ad c b but I want: ab c d How to prevent this? Link to comment
dzek (varez) Posted July 14, 2010 Share Posted July 14, 2010 http://www.google.com/search?client=ope ... 8&oe=utf-8 and first result is what you need Link to comment
ziomal432 Posted July 14, 2010 Author Share Posted July 14, 2010 Thanks, I searched in Google, but in wrong keywords. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now