Jump to content

Orden en la tabla..


Arsilex

Recommended Posts

Posted

Bueno tengo una duda si tengo una tabla asi..

cars = { [1] = ASDAS5435,[2] = asdsad} 

si borro de la tabla el coche con index 1 como hago para que el index 2 pase a ser el 1?

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Proba con table.remove.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Probaste si la funcion esa hace lo que queres o no? eso es lo que te dije...

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

De nada ( ya lo acababa de probar justo ).

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...