Jump to content

Sticmy

Members
  • Posts

    254
  • Joined

  • Last visited

Everything posted by Sticmy

  1. El texto 'xdd' cómo lo tienes en tu server el color celeste no sé si tu lo haces con xml o otra forma.
  2. Bueno, quería saber como pudiera hacer esto. hay alguna función o debo hacerlo con xml?. URL DE IMAGEN: http://i.imgur.com/BwtPPiy.png el texto que dice 'xdd'
  3. Ok, luego lo probaré jeje
  4. Hola, me podrían explicar para que se utiliza está función en los gridlist. guiGridListSetColumnTitle
  5. eh amigos bueno días, bueno no sé que eh echo mal pero esta función no me funciona lo que trato de hacer es poner un color desde una tabla, bueno espero sus respuestas. Codigo: addEventHandler("onClientResourceStart", resourceRoot, function() gui_spawn = guiCreateWindow(414, 178, 514, 379, "Sistema de Spawn.", false) guiWindowSetSizable(gui_spawn, false) guiSetVisible(gui_spawn, false) lista_spawn = guiCreateGridList(10, 25, 494, 298, false, gui_spawn) column = guiGridListAddColumn(lista_spawn, "Lista", 0.9) boton_spawn = guiCreateButton(147, 333, 217, 31, "Spawnear.", false, gui_spawn) guiSetFont(boton_spawn, "default-bold-small") local list = { {"test"}, {"test2"} } for index, y in ipairs(list) do local row = guiGridListAddRow(lista_spawn) guiGridListSetItemText(lista_spawn, row, 1, tostring(y[1]), false, true) guiGridListSetItemText(lista_spawn, row, 2, tostring(y[2]), false, true) guiGridListSetItemColor(lista_spawn, row, y[1], 0, 255, 0) end guiGridListSetSelectedItem(lista_spawn, 1, 1) end ) function panel_ver () showCursor( not isCursorShowing(gui_spawn) ) guiSetVisible (gui_spawn, not guiGetVisible ( gui_spawn ) ) end bindKey("f2", "down", panel_ver)
  6. Pero esos recursos son robados lol
  7. mm yo entendí, también hice eso si quieres te regalo el recurso manda un pm y te lo mando
  8. Sticmy

    Un Evento

    Hola necesito un evento de cuando un jugador cambie de arma? no la encuentro
  9. Ami también me paso pero creo que es problema del Firewall debes desactivarlo
  10. Sticmy

    Un problema D:

    Me funciono gracias!
  11. Sticmy

    Un problema D:

    El primer codigo que me dijistes lo hice algo asi pero igual no salia .-.
  12. Hola tengo un problema con la ropa del CJ. estoy haciendo que el CJ les quite la ropa por ejemplo la gorra puse esta funcion: function CargarRopa(player) removePedClothes ( player, 0, 0 ) removePedClothes ( player, 1, 0 ) removePedClothes ( player, 2, 0 ) end addEvent("Cargar", true ) addEventHandler("Cargar", resourceRoot, CargarRopa) Me dicen cual es el problema quiero quitarle la ropa a CJ y no sale me dicen por que?
  13. Sticmy

    Una ayuda

    Si alfa sobre data bases me explican
  14. Sticmy

    Una ayuda

    Hola me podrían explicar de como crear un dato?
  15. Sticmy

    Una pregunta

    no osea quiero limpiar los mysql
  16. Sticmy

    Una pregunta

    Hay alguna manera de limpiar databases?
  17. Luego lo Pruebo gracias
  18. Hola tengo un problema utilizo el save_system de zyky, pues el problema es que cuando una persona muere con una arma, la munición se le sube infinito saben porque ? Por favor ayúdenme D:
  19. Revisa los luas y Resources. Seguro tendrá un código de spawn
  20. mm seh te dejo una función function testeando () if ( source == boton ) then -- variable del boton local row = guiGridListGetSelectedItem( variabledelgui ) -- Pon el nombre de la variable del gridlist local name = guiGridListGetItemText( variabledelgui, row, testa) -- testa = guiGridListAddColumn(variabledelgui, "Listas.", 0.9) así como esta if name == "Skin 2" then -- Nombre del por ejemplo este guiGridListSetItemText(variabledelgui, 0, 1, "Skin 2", false, false) outputChatBox("test") -- elseif name=" Skin 2" then end end end addEventHandler("onClientGUIClick", root, testeando) ahí ve añadiendo elseif.
  21. Server: local entro = createMarker ( 864.61279 + 2,-28.02875 + 2, 62.1, "cylinder", 1.5, 255, 0, 0, 170) function entro_al_marcador ( player ) triggerClientEvent(player, "AbrirWindows", player) end addEventHandler ( "onMarkerHit", entro, entro_al_marcador ) Client: function abrir ( ) guiSetVisible (guiSicario, true) showCursor(true) end addEvent( "AbrirWindows", true ) addEventHandler( "AbrirWindows", localPlayer, abrir )
×
×
  • Create New...