Jump to content

AlvareZ_

Members
  • Posts

    611
  • Joined

  • Last visited

Everything posted by AlvareZ_

  1. Listo tengo el clientside completo me tocaria con el serverside me podrias dar un ejemplo de como lo creastes tu claro si puede, si no me quedaria sacarlo
  2. solo me sale server triggeted clientside event onClientCall, bug but event its not added clientside mas nada Edit: Ya lo arregle gracias mas errores los ire poniendo me has ayudado mucho
  3. Muchas gracias me tope con otro error : function name1 ( ) if ( rowCitySF ) then local row, col = guiGridListGetSelectedItem ( source ) if ( row and col and row ~= -1 and col ~= -1 ) then local cityName = guiGridListGetItemText ( source, row, 1 ) if ( cityName == "Los Santos" ) then guiGridListClear ( grid_groups ) rowGroupsPolice = guiGridListAddRow ( grid_groups ) guiGridListSetItemText ( grid_groups, rowGroupsPolice, columnGroups, "Police", false, false ) end end end end addEventHandler ( "onClientGUIClick", grid_city, name1, false ) function name2 ( ) if ( rowCitySF ) then local row, col = guiGridListGetSelectedItem ( source ) if ( row and col and row ~= -2 and col ~= -2 ) then local cityName = guiGridListGetItemText ( source, row, 2 ) if ( cityName == "Los Santos" ) then guiGridListClear ( grid_groups ) rowGroupsSheriff = guiGridListAddRow ( grid_groups ) guiGridListSetItemText ( grid_groups, rowGroupsSheriff, columnGroups, "Sheriff", false, false ) end end end end addEventHandler ( "onClientGUIClick", grid_city, name2, false ) solo me esta monstrando police ps camibe esto row and col and row ~= -2 and col ~= -2 y local cityName = guiGridListGetItemText ( source, row, 2 ) me faltaria algo para q ande solo me esta monstrando police
  4. Ya logre solucionarlo, si es tu tu post ya q era lo mismo si te molesta podria hacer otra cosa
  5. ya quite esa parte la corregi pero sigue sin salirme cuando le doy a Los Santos no me sale nada
  6. Mira esto es un ejemplo, seria algo haci? pero no me anda GUIEditor = { gridlist = {}, } GUIEditor.gridlist[1] = guiCreateGridList(175, 168, 167, 158, false) guiGridListAddColumn(GUIEditor.gridlist[1], "Categoria", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "Los Santos", false, false) GUIEditor.gridlist[2] = guiCreateGridList(182, 342, 165, 148, false) guiGridListSetSelectionMode(GUIEditor.gridlist[2],2) grupos = guiGridListAddColumn(GUIEditor.gridlist[2], " ", 0.9) guiSetVisible ( ventana , true ) showCursor ( true ) function spawnLS ( ) if ( GUIEditor.gridlist[1] ) then local row, col = guiGridListGetSelectedItem ( source ) if ( row and col and row ~= -1 and col ~= -1 ) then local cityName = guiGridListGetItemText ( source, row, 1 ) if ( cityName == "Los Santos" ) then guiGridListClear ( GUIEditor.gridlist[2] ) rowGrupoPolice = guiGridListAddRow ( GUIEditor.gridlist[2] ) guiGridListSetItemText ( GUIEditor.gridlist[2], rowGrupoPolice, grupos, "Police", false, false ) end end end end addEventHandler ( "onClientGUIClick", GUIEditor.gridlist[2], spawnLS, false )
  7. AlvareZ_

    crear spawn

    Que funciones deberia usar para crear mi propio spawn panel algo simple ? pero usare esto para crearlos guiGridListAddRow
  8. si quisiera usar outputChatBox q me dijera algo con el gang_system osea usar el gang en el outputChatBox como deberia ser ? ".. gang .."
  9. AlvareZ_

    ejemplo

    mil gracias, me ando, es q apenas empiso ya ago mis scripts y eso pero de poco a poco no
  10. AlvareZ_

    ejemplo

    pongo todo eso en clientsttings?
  11. AlvareZ_

    ejemplo

    Nesecito un ejemplo de como cambiarle la letra del scoreboard por q e intentado varias veces y nada demen un ejemplo oseas en el dxscoreboard_client y dxscoreboard_clientsttings si pueden muchas gracias
  12. hmm ya ok y me topo con otra cosa le imformo, Gracias
  13. client: teamHeaderFont = "haettenschweiler" contentFont = "haettenschweiler" columnFont = "haettenschweiler" serverInfoFont = "haettenschweiler" rmbFont = "haettenschweiler" ["haettenschweiler"] = 1.0, ["haettenschweiler"] = 1.0, ["haettenschweiler"] = 1.0, clientstting: ["columnfont"] = "haettenschweiler", ["contentfont"] = "haettenschweiler", ["teamfont"] = "haettenschweiler", ["serverinfofont"] = "haettenschweiler", dame un ejemplo tuyo. SI no es mucha molestia
  14. Ps si ya se, pero quisere carbearle la letra osea ponerle otro tipo a el scoreboard en si.
  15. intento cambiarle la letra arial pero le pongo el nombre de la otra y no me lo quiere cojer
  16. ps como lo editaria un ejemplo y en q archivo o algo
  17. Bueno, Lo siguiente es q uso este scoreboard https://community.multitheftauto.com/ind ... ls&id=6244 ps me crea las colunnas para la parte de atras mas no para la parte delante del nick ps si alguien me ayuda o me dice como crear mi scoreboard se lo agradeceria, osea como editar el scoreboard por mi mismo =)
  18. AlvareZ_

    Ayuda

    Client: ventana = guiCreateWindow(0.35, 0.35, 0.3, 0.2,"Ejemplo",true) guiWindowSetSizable(ventana, false) guiSetVisible ( ventana, false ) addEvent ("showGUI", true) function asd () if (getLocalPlayer() == source) then guiSetVisible (ventana, true) showCursor (true) end end addEventHandler ("showGUI", getRootElement(), asd) server: ejemplo = createMarker(1576.5, 1495.30, 13, "cylinder", 18, 0, 155, 255, 30) addEvent ("showGUI", true) function markerHit (hitPlayer, matchingDimension) if (source == ejemplo) then triggerClientEvent ("showGUI", hitPlayer) outputChatBox ("Bienvenido!", hitPlayer, 255, 255, 255) end end addEventHandler ("onMarkerHit", getRootElement(), markerHit)
  19. AlvareZ_

    Ayuda

    a mi me sirvio, Pon como lo estas haciendo para coregirlo
  20. AlvareZ_

    Ayuda

    prueba asi: client: ventana = guiCreateWindow(0.35, 0.35, 0.3, 0.2,"Ejemplo",true) guiWindowSetSizable(ventana, false) guiSetVisible ( ventana, false ) addEvent ("showGUI", true) function asd () if (getLocalPlayer() == source) then guiSetVisible (ventana, true) showCursor (true) end end addEventHandler ("showGUI", getRootElement(), asd)
×
×
  • Create New...