Arsilex Posted November 3, 2012 Share Posted November 3, 2012 Rangos = { } addEventHandler("onResourceStart", root, function() local players = getElementsByType ( "player" ) for i, k in ipairs(players) do table.insert (Rangos, getElementData ( k, "Puntos-Rangos")) table.sort (Rangos) end end ) how i can use this for put all ranks in tabla and orgraniza whit sort for put in score in : Rank 1 = 1500 Point and Rank 2 = 1000 point ? Link to comment
Castillo Posted November 3, 2012 Share Posted November 3, 2012 As I told you in the spanish section, you must learn how to use tables properly. 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