Jump to content

Esta bien esto


Arsilex

Recommended Posts

Posted
       Mecan = guiCreateWindow(354,113,516,525,"",false) 
        local list = guiCreateGridList(9,21,498,494,false,Mecan) 
        local column = guiGridListAddColumn( playerList, "Columna", 0.85 ) --Crear una columna en esa lista 
        local item = getVehicleUpgrades ( theVehicle ) 
        table = { "asd", "lolazo", "nombre" } --La tabla ya esta lista 
        for i, item in ipairs( table ) do --Para cada valor dentro de la tabla, 
        local row = guiGridListAddRow ( list ) --crear una fila en la lista, 
        guiGridListSetItemText ( list, row, column, getPlayerName ( item ), false, false ) --y darle a esa fila, en la columna ya mencionada, el valor en concreto dentro de la tabla 
        end 
         

Supuestamente eso cuando activo el script deveria de salir un gui con las mejoras que se le pueden poner al coche pero no sale nada :S

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Y no, claro, si intentas obtener el nombre de un jugador de un string nunca va a funcionar.

De esto estoy hablando:

getPlayerName ( item ) 

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

Y los parentesis para que?

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

La imagen es muy pequeña, postea los errores.

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...