-
Posts
611 -
Joined
-
Last visited
Everything posted by AlvareZ_
-
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
-
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
-
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
-
Ya logre solucionarlo, si es tu tu post ya q era lo mismo si te molesta podria hacer otra cosa
-
ya quite esa parte la corregi pero sigue sin salirme cuando le doy a Los Santos no me sale nada
-
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 )
-
Que funciones deberia usar para crear mi propio spawn panel algo simple ? pero usare esto para crearlos guiGridListAddRow
-
si quisiera usar outputChatBox q me dijera algo con el gang_system osea usar el gang en el outputChatBox como deberia ser ? ".. gang .."
-
hmm ya ok y me topo con otra cosa le imformo, Gracias
-
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
-
aca no ? ["arial"] = 1.0,
-
Ps si ya se, pero quisere carbearle la letra osea ponerle otro tipo a el scoreboard en si.
-
en q parte esta eso ? oO
-
intento cambiarle la letra arial pero le pongo el nombre de la otra y no me lo quiere cojer
-
ah ok, Muchas Gracias
-
ps como lo editaria un ejemplo y en q archivo o algo
-
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 =)
-
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)
-
a mi me sirvio, Pon como lo estas haciendo para coregirlo
-
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)
