Jump to content

iFoReX

Members
  • Posts

    1,708
  • Joined

  • Last visited

Everything posted by iFoReX

  1. Es Porque Te Falto Un Parentesis En ShowCursor showCursor(guiGetVisible(Window)) Ahi ta
  2. Yo Uso Esto Man, Hace Un Tiempo Cuando Hacia Muchas GUIs Me Lo Dieron No Me Acuerdo Quien bindKey("F2","down",function() guiSetVisible(Window,not guiGetVisible(Window) showCursor(guiGetVisible(Window) end ) Espero Te Sirva :3
  3. Cambie El Micro Ahora Se Escuchara Mucho Mas Claro men, Gracias :3
  4. Deberias Comprarte Un VPS No Son Tan Caras & Son Perfectas Para Proyectos Grandes
  5. Bueno He Echo Este Tutorial Para La Gente Que Viene Empezando En Esto De La Creacion De Servers & Espero Les Sirva Esta Pequeña Ayudita, Si Os Gusto Denle Like & Suscribanse NOTA: Si No Os Gusta Espero Reserven Sus Comentarios NOTA2: Nuevo Micro :3 Cualquier Duda La Postean & La Respondo En Menos De 12 Horas
  6. Jajaja, habia echo el video unas 3 veces y tenia errores de grabacion :c andaba encabronado al maximo, gracias por el apoyo men se agradece
  7. Bueno, he hecho estos tutoriales para la gente que viene empezando en esto de la creación de servers. Espero les sirva esta pequeña ayuda, y si os gustó denle like . Creación de GUI's: Bugs MTA Como Poner Animaciones A Los Peds NOTA: Cualquier duda la postean y la respondo en menos de 12 horas
  8. No Sale Nada En El Debugging & Es Server Side :c "Krlos" type="script" name="jobPuta" />
  9. Holi, Estaba haciendo Un Resource Para Entretenerme Un Rato >< Jajajaja puta1 = createPed(246,963.46307, -1829.52332, 12.60266,180) markerp1 = createMarker(963.32178, -1830.21313, 11.5,"cylinder",1,255,255,255,160) setTimer( function() setElementHealth(puta1,100) end, 100, 0 ) setElementFrozen(puta1,true) addEventHandler("onMarkerHit",root,function(hitElement,matchingDimension) if source == markerp1 then outputChatBox("Sasha Gray: Bienvenido Al Trabajo De Puta, Abajo Esta El Contrato",hitElement,255,0,162) end end ) No Sale Nada Al Entrar Al Marker:c
  10. En Mis Tiempos No Se Podia:c Jajaja Gracias Men :3 Pondre Esa Pagina En La Desc. Del Video
  11. El Del Laptop, Me Compraria Uno Pero Estoy Ahorrando Para Comprarme El iPhone 5s :c Jajaja
  12. Gracias Man Pero Ya Habia Resolvido Eso:c Ahora Trato De Resolver Lo Del Grid
  13. Primero Estoy Haciendo La GUI :c
  14. Estaba probando sin cambiar nada solo la parte del clientside para ver que tal pero no se setean GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(352, 69, 599, 652, "eTunes - Comprar Canciones", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[1]) Canciones1 = guiGridListAddColumn(GUIEditor.gridlist[1], "Canciones", 0.9) GUIEditor.label[1] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[1], "right", false) NombreDeLaCancion = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(NombreDeLaCancion, "center", false) GUIEditor.label[2] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[2], "right", false) ArtistaDeLaCancion = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion, "center", false) GUIEditor.label[3] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[3], "right", false) AlbumDeLaCancion = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(AlbumDeLaCancion, "center", false) GUIEditor.label[4] = guiCreateLabel(276, 233, 130, 19, "Precio: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[4], "right", false) PrecioDeLaCancion = guiCreateLabel(406, 233, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(PrecioDeLaCancion, "center", false) GUIEditor.button[1] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(364, 336, 181, 50, "Comprar Cancion", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.label[6] = guiCreateLabel(276, 130, 130, 19, "Ventas: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[6], "right", false) Ventas = guiCreateLabel(406, 130, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(Ventas, "center", false) GUIEditor.button[5] = guiCreateButton(364, 276, 82, 50, "Reproducir", false, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(463, 276, 82, 50, "Detener", false, GUIEditor.window[1]) GUIEditor.window[2] = guiCreateWindow(352, 69, 599, 652, "eTunes - Tus Canciones", false) guiWindowSetSizable(GUIEditor.window[2], false) GUIEditor.label[7] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[7], "right", false) NombreDeLaCancion2 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(NombreDeLaCancion2, "center", false) GUIEditor.label[8] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[8], "right", false) ArtistaDeLaCancion2 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion2, "center", false) GUIEditor.label[9] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[9], "right", false) AlbumDeLaCancion2 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(AlbumDeLaCancion2, "center", false) GUIEditor.gridlist[2] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[2]) guiGridListAddColumn(GUIEditor.gridlist[2], "Tus Canciones", 0.9) GUIEditor.button[7] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[2]) GUIEditor.button[8] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[2]) GUIEditor.button[9] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[2]) GUIEditor.button[10] = guiCreateButton(364, 278, 81, 50, "Reproducir", false, GUIEditor.window[2]) GUIEditor.label[10] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[10], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[10], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[10], "center") GUIEditor.label[11] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[11], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[11], "right", false) ReproduccionesDeLaCancion = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion, "center", false) GUIEditor.button[11] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[2]) GUIEditor.button[12] = guiCreateButton(464, 278, 81, 50, "Detener", false, GUIEditor.window[2]) GUIEditor.window[3] = guiCreateWindow(352, 69, 599, 652, "eTunes - Canciones Favoritas", false) guiWindowSetSizable(GUIEditor.window[3], false) GUIEditor.label[12] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[12], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[12], "right", false) NombreDeLaCancion3 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(NombreDeLaCancion3, "center", false) GUIEditor.label[13] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[13], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[13], "right", false) ArtistaDeLaCancion3 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion3, "center", false) GUIEditor.label[14] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[14], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[14], "right", false) AlbumDeLaCancion3 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(AlbumDeLaCancion3, "center", false) GUIEditor.gridlist[3] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[3]) guiGridListAddColumn(GUIEditor.gridlist[3], "Canciones Favoritas", 0.9) GUIEditor.button[13] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[3]) GUIEditor.button[14] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[3]) GUIEditor.button[15] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[3]) GUIEditor.button[16] = guiCreateButton(364, 278, 82, 50, "Reproducir", false, GUIEditor.window[3]) GUIEditor.label[15] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[15], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[15], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[15], "center") GUIEditor.label[16] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[16], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[16], "right", false) ReproduccionesDeLaCancion2 = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion2, "center", false) GUIEditor.button[17] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[3]) GUIEditor.button[18] = guiCreateButton(463, 278, 82, 50, "Detener", false, GUIEditor.window[3]) guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],false) addCommandHandler("etunes",function() if guiGetVisible(GUIEditor.window[1]) == true or guiGetVisible(GUIEditor.window[2]) == true or guiGetVisible(GUIEditor.window[3]) == true then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],false) showCursor(false) elseif guiGetVisible(GUIEditor.window[1]) == false and guiGetVisible(GUIEditor.window[2]) == false and guiGetVisible(GUIEditor.window[3]) == false then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) addEventHandler("onClientGUIClick",root,function() if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],true) elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[3],true) elseif source == GUIEditor.button[8] then guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[1],true) elseif source == GUIEditor.button[9] then guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],true) elseif source == GUIEditor.button[13] then guiSetVisible(GUIEditor.window[3],false) guiSetVisible(GUIEditor.window[2],true) elseif source == GUIEditor.button[14] then guiSetVisible(GUIEditor.window[3],false) guiSetVisible(GUIEditor.window[1],true) end end ) function gotMusicList(songs) music = songs for k,song in ipairs(music) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,Canciones1,k,false,true) guiGridListSetItemText(GUIEditor.gridlist[1],row,Canciones1,song.name,false,false) guiGridListSetItemText(GUIEditor.gridlist[1],row,Canciones1,song.length,false,false) end ---guiSetEnabled(playButton,true) ---guiSetEnabled(closeButton,true) end addEventHandler("onServerSendMusicList",root,gotMusicList)
  15. Man lo que podes hacer es usar esto: primero creas un resource, creas el meta y el lua ( da lo mismo si lo pones client o server side ) luego en el lua pones esto : Pones Las Posiciones & en la "PosZ" Le Subes 1 o Le subes hasta que te quede bien algo asi como prueba error prueba error RGB Son Los Colores Que Quieres, Lo Puedes Obtener De Aqui el RGB Del color que quieres http://adf.ly/d4Kbs createMarker(PosX,PosY,PosZ,"arrow",elTamaño,R,G,B,Alpha) Yo preferia este metodo porque asi no tenia que abrir a cada rato el editor, para obtener tu posicion en el mapa ocupa /gp o /getpos
  16. Gracias Men, Tiempo Sin Scriptear Se Me Han Olvidado Algunos Terminos Jaj, Man Como Podria Hacer Una Tabla ( Algo Como Esto: Canciones = {"Roll Up","Black And Yellow","Young,Wild And Free"} ) ? Para El Grid GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(352, 69, 599, 652, "eTunes - Comprar Canciones", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Canciones", 0.9) GUIEditor.label[1] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[1], "right", false) NombreDeLaCancion = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(NombreDeLaCancion, "center", false) GUIEditor.label[2] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[2], "right", false) ArtistaDeLaCancion = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion, "center", false) GUIEditor.label[3] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[3], "right", false) AlbumDeLaCancion = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(AlbumDeLaCancion, "center", false) GUIEditor.label[4] = guiCreateLabel(276, 233, 130, 19, "Precio: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[4], "right", false) PrecioDeLaCancion = guiCreateLabel(406, 233, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(PrecioDeLaCancion, "center", false) GUIEditor.button[1] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(364, 336, 181, 50, "Comprar Cancion", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.label[6] = guiCreateLabel(276, 130, 130, 19, "Ventas: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[6], "right", false) Ventas = guiCreateLabel(406, 130, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(Ventas, "center", false) GUIEditor.button[5] = guiCreateButton(364, 276, 82, 50, "Reproducir", false, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(463, 276, 82, 50, "Detener", false, GUIEditor.window[1]) GUIEditor.window[2] = guiCreateWindow(352, 69, 599, 652, "eTunes - Tus Canciones", false) guiWindowSetSizable(GUIEditor.window[2], false) GUIEditor.label[7] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[7], "right", false) NombreDeLaCancion2 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(NombreDeLaCancion2, "center", false) GUIEditor.label[8] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[8], "right", false) ArtistaDeLaCancion2 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion2, "center", false) GUIEditor.label[9] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[9], "right", false) AlbumDeLaCancion2 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(AlbumDeLaCancion2, "center", false) GUIEditor.gridlist[2] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[2]) guiGridListAddColumn(GUIEditor.gridlist[2], "Tus Canciones", 0.9) GUIEditor.button[7] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[2]) GUIEditor.button[8] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[2]) GUIEditor.button[9] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[2]) GUIEditor.button[10] = guiCreateButton(364, 278, 81, 50, "Reproducir", false, GUIEditor.window[2]) GUIEditor.label[10] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[10], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[10], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[10], "center") GUIEditor.label[11] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[11], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[11], "right", false) ReproduccionesDeLaCancion = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion, "center", false) GUIEditor.button[11] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[2]) GUIEditor.button[12] = guiCreateButton(464, 278, 81, 50, "Detener", false, GUIEditor.window[2]) GUIEditor.window[3] = guiCreateWindow(352, 69, 599, 652, "eTunes - Canciones Favoritas", false) guiWindowSetSizable(GUIEditor.window[3], false) GUIEditor.label[12] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[12], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[12], "right", false) NombreDeLaCancion3 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(NombreDeLaCancion3, "center", false) GUIEditor.label[13] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[13], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[13], "right", false) ArtistaDeLaCancion3 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion3, "center", false) GUIEditor.label[14] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[14], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[14], "right", false) AlbumDeLaCancion3 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(AlbumDeLaCancion3, "center", false) GUIEditor.gridlist[3] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[3]) guiGridListAddColumn(GUIEditor.gridlist[3], "Canciones Favoritas", 0.9) GUIEditor.button[13] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[3]) GUIEditor.button[14] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[3]) GUIEditor.button[15] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[3]) GUIEditor.button[16] = guiCreateButton(364, 278, 82, 50, "Reproducir", false, GUIEditor.window[3]) GUIEditor.label[15] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[15], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[15], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[15], "center") GUIEditor.label[16] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[16], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[16], "right", false) ReproduccionesDeLaCancion2 = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion2, "center", false) GUIEditor.button[17] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[3]) GUIEditor.button[18] = guiCreateButton(463, 278, 82, 50, "Detener", false, GUIEditor.window[3]) guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],false) addCommandHandler("etunes",function() if guiGetVisible(GUIEditor.window[1]) == true or guiGetVisible(GUIEditor.window[2]) == true or guiGetVisible(GUIEditor.window[3]) == true then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],false) showCursor(false) elseif guiGetVisible(GUIEditor.window[1]) == false and guiGetVisible(GUIEditor.window[2]) == false and guiGetVisible(GUIEditor.window[3]) == false then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) addEventHandler("onClientGUIClick",root,function() if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],true) elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[3],true) elseif source == GUIEditor.button[8] then guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[1],true) elseif source == GUIEditor.button[9] then guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],true) elseif source == GUIEditor.button[13] then guiSetVisible(GUIEditor.window[3],false) guiSetVisible(GUIEditor.window[2],true) elseif source == GUIEditor.button[14] then guiSetVisible(GUIEditor.window[3],false) guiSetVisible(GUIEditor.window[1],true) end end )
  17. Bueno, he hecho este tutorial para la gente que viene empezando en esto de la creación de servers. Espero les sirva esta pequeña ayuda y si os gustó denle like . Y este otro para que abran los puertos Tengan como referencia los siguentes temas: Respecto a configurar puertos Clases de Lua
  18. Estaba empezando a hacer una gui y de pronto el guiclick no funciona:c GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(352, 69, 599, 652, "eTunes - Comprar Canciones", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Canciones", 0.9) GUIEditor.label[1] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[1], "right", false) NombreDeLaCancion = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(NombreDeLaCancion, "center", false) GUIEditor.label[2] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[2], "right", false) ArtistaDeLaCancion = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion, "center", false) GUIEditor.label[3] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[3], "right", false) AlbumDeLaCancion = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(AlbumDeLaCancion, "center", false) GUIEditor.label[4] = guiCreateLabel(276, 233, 130, 19, "Precio: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[4], "right", false) PrecioDeLaCancion = guiCreateLabel(406, 233, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(PrecioDeLaCancion, "center", false) GUIEditor.button[1] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(364, 336, 181, 50, "Comprar Cancion", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.label[6] = guiCreateLabel(276, 130, 130, 19, "Ventas: ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[6], "right", false) Ventas = guiCreateLabel(406, 130, 139, 19, "", false, GUIEditor.window[1]) guiLabelSetHorizontalAlign(Ventas, "center", false) GUIEditor.button[5] = guiCreateButton(364, 276, 82, 50, "Reproducir", false, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(463, 276, 82, 50, "Detener", false, GUIEditor.window[1]) GUIEditor.window[2] = guiCreateWindow(352, 69, 599, 652, "eTunes - Tus Canciones", false) guiWindowSetSizable(GUIEditor.window[2], false) GUIEditor.label[7] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[7], "right", false) NombreDeLaCancion2 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(NombreDeLaCancion2, "center", false) GUIEditor.label[8] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[8], "right", false) ArtistaDeLaCancion2 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion2, "center", false) GUIEditor.label[9] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[9], "right", false) AlbumDeLaCancion2 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(AlbumDeLaCancion2, "center", false) GUIEditor.gridlist[2] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[2]) guiGridListAddColumn(GUIEditor.gridlist[2], "Tus Canciones", 0.9) GUIEditor.button[7] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[2]) GUIEditor.button[8] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[2]) GUIEditor.button[9] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[2]) GUIEditor.button[10] = guiCreateButton(364, 278, 81, 50, "Reproducir", false, GUIEditor.window[2]) GUIEditor.label[10] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[10], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[10], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[10], "center") GUIEditor.label[11] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[11], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[11], "right", false) ReproduccionesDeLaCancion = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[2]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion, "center", false) GUIEditor.button[11] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[2]) GUIEditor.button[12] = guiCreateButton(464, 278, 81, 50, "Detener", false, GUIEditor.window[2]) GUIEditor.window[3] = guiCreateWindow(352, 69, 599, 652, "eTunes - Canciones Favoritas", false) guiWindowSetSizable(GUIEditor.window[3], false) GUIEditor.label[12] = guiCreateLabel(276, 73, 130, 19, "Nombre de la cancion: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[12], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[12], "right", false) NombreDeLaCancion3 = guiCreateLabel(406, 73, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(NombreDeLaCancion3, "center", false) GUIEditor.label[13] = guiCreateLabel(276, 92, 130, 19, "Artista: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[13], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[13], "right", false) ArtistaDeLaCancion3 = guiCreateLabel(406, 92, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ArtistaDeLaCancion3, "center", false) GUIEditor.label[14] = guiCreateLabel(276, 111, 130, 19, "Album: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[14], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[14], "right", false) AlbumDeLaCancion3 = guiCreateLabel(406, 111, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(AlbumDeLaCancion3, "center", false) GUIEditor.gridlist[3] = guiCreateGridList(30, 63, 230, 498, false, GUIEditor.window[3]) guiGridListAddColumn(GUIEditor.gridlist[3], "Canciones Favoritas", 0.9) GUIEditor.button[13] = guiCreateButton(30, 567, 139, 60, "Tus Canciones", false, GUIEditor.window[3]) GUIEditor.button[14] = guiCreateButton(173, 567, 139, 60, "Comprar Canciones", false, GUIEditor.window[3]) GUIEditor.button[15] = guiCreateButton(316, 567, 139, 60, "Canciones Favoritas", false, GUIEditor.window[3]) GUIEditor.button[16] = guiCreateButton(364, 278, 82, 50, "Reproducir", false, GUIEditor.window[3]) GUIEditor.label[15] = guiCreateLabel(464, 567, 125, 60, "Script Made By ElMota\nCopyright 2014 (c)", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[15], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[15], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[15], "center") GUIEditor.label[16] = guiCreateLabel(276, 230, 130, 19, "Reproducciones: ", false, GUIEditor.window[3]) guiSetFont(GUIEditor.label[16], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[16], "right", false) ReproduccionesDeLaCancion2 = guiCreateLabel(406, 230, 139, 19, "", false, GUIEditor.window[3]) guiLabelSetHorizontalAlign(ReproduccionesDeLaCancion2, "center", false) GUIEditor.button[17] = guiCreateButton(364, 338, 181, 50, "Convertir En Favorita", false, GUIEditor.window[3]) GUIEditor.button[18] = guiCreateButton(463, 278, 82, 50, "Detener", false, GUIEditor.window[3]) guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],false) guiSetVisible(GUIEditor.window[3],false) addCommandHandler("etunes",function() if guiGetVisible(GUIEditor.window[1]) == true then guiSetVisible(GUIEditor.window[1],false) showCursor(false) elseif guiGetVisible(GUIEditor.window[1]) == false then guiSetVisible(GUIEditor.window[1],true) showCursor(true) elseif guiGetVisible(GUIEditor.window[2]) == true then guiSetVisible(GUIEditor.window[2],false) showCursor(false) elseif guiGetVisible(GUIEditor.window[3]) == true then guiSetVisible(GUIEditor.window[3],false) showCursor(false) end end ) addEventHandler("onClientGUIClick",root,function() if root == GUIEditor.button[1] then guiSetVisible(GUIEditor.window[1],false) guiSetVisible(GUIEditor.window[2],true) end end )
×
×
  • Create New...