Jump to content

Julian09123

Members
  • Posts

    411
  • Joined

  • Last visited

Everything posted by Julian09123

  1. No me anda me dice Error Me dice Expected near to close near 80 Linea 79 o algo asi pongo el codigo entero pondre una parte function win() Window = guiCreateWindow(38, 58, 725, 482, "Weapon Shop", false) guiWindowSetSizable(Window, false) btnm4 = guiCreateButton(10, 100, 98, 44, "7500$ x 200", false, Window) guiSetFont(btnm4, "default-bold-small") btnknife = guiCreateButton(617, 379, 98, 44, "100$ x 1", false, Window) guiSetFont(btnknife, "default-bold-small") btnparachute = guiCreateButton(490, 379, 98, 44, "Price: 900$", false, Window) guiSetFont(btnparachute, "default-bold-small") btnsatchel = guiCreateButton(369, 379, 98, 44, "1500$ x 4", false, Window) guiSetFont(btnsatchel, "default-bold-small") btntec = guiCreateButton(613, 245, 98, 44, "5500$ x 200", false, Window) guiSetFont(btntec, "default-bold-small") btnsniper = guiCreateButton(490, 241, 98, 44, "9000$ x 200", false, Window) guiSetFont(btnsniper, "default-bold-small") btnshotgun = guiCreateButton(369, 245, 98, 44, "1400$ x 150", false, Window) guiSetFont(btnshotgun, "default-bold-small") btnsilenced = guiCreateButton(249, 245, 98, 44, "600$ x 80", false, Window) guiSetFont(btnsilenced, "default-bold-small") btndeagle = guiCreateButton(128, 245, 98, 44, "1000$ x 100", false, Window) guiSetFont(btndeagle, "default-bold-small") btnrifle = guiCreateButton(613, 100, 98, 44, "1000$ x 50", false, Window) guiSetFont(btnrifle, "default-bold-small") btndoubleshout = guiCreateButton(490, 100, 98, 44, "4200$ x 150", false, Window) guiSetFont(btndoubleshout, "default-bold-small") btnspaz = guiCreateButton(369, 100, 98, 44, "2900$ x 100", false, Window) guiSetFont(btnspaz, "default-bold-small") btnmp5 = guiCreateButton(249, 100, 98, 44, "3600$ 150", false, Window) guiSetFont(btnmp5, "default-bold-small") btnak = guiCreateButton(128, 100, 98, 44, "6500$ x 200", false, Window) guiSetFont(btnak, "default-bold-small") btnpistol = guiCreateButton(10, 245, 98, 44, "300$ x 50", false, Window) guiSetFont(btnpistol, "default-bold-small") btngranade = guiCreateButton(249, 379, 98, 44, "3000$ x 10", false, Window) guiSetFont(btngranade, "default-bold-small") btnteargas = guiCreateButton(128, 379, 98, 44, "1800$ x 10", false, Window) guiSetFont(btnteargas, "default-bold-small") btnuzi = guiCreateButton(10, 379, 98, 44, "3500$ 150", false, Window) guiSetFont(btnuzi, "default-bold-small") Cerrar = guiCreateButton(321, 444, 122, 28, "Cerrar", false, Window) guiSetFont(Cerrar, "default-bold-small") m4 = guiCreateStaticImage(16, 30, 82, 66, ":WeaponShop/img/M4.png", false, Window) Ak = guiCreateStaticImage(134, 32, 86, 64, ":WeaponShop/img/AK-47.png", false, Window) mMp5 = guiCreateStaticImage(255, 33, 86, 57, ":WeaponShop/img/MP5.png", false, Window) Parachute = guiCreateStaticImage(496, 308, 86, 57, ":WeaponShop/img/PARACHUTE.png", false, Window) Spaz = guiCreateStaticImage(372, 33, 85, 62, ":WeaponShop/img/SPAZ-12.png", false, Window) Pistol = guiCreateStaticImage(16, 180, 86, 55, ":WeaponShop/img/pistol.png", false, Window) Rifle = guiCreateStaticImage(617, 42, 89, 53, ":WeaponShop/img/rifle.png", false, Window) Satchel = guiCreateStaticImage(374, 310, 83, 59, ":WeaponShop/img/satchel.png", false, Window) Sawnoff = guiCreateStaticImage(500, 33, 78, 62, ":WeaponShop/img/sawnoff.png", false, Window) Deagle = guiCreateStaticImage(132, 181, 84, 54, ":WeaponShop/img/deagle.png", false, Window) Knife = guiCreateStaticImage(626, 312, 85, 57, ":WeaponShop/img/knife.png", false, Window) Granada = guiCreateStaticImage(252, 312, 85, 57, ":WeaponShop/img/nade.png", false, Window) Tec = guiCreateStaticImage(617, 176, 88, 59, ":WeaponShop/img/tec9.png", false, Window) Sniper = guiCreateStaticImage(495, 176, 87, 55, ":WeaponShop/img/sniper.png", false, Window) Silenced = guiCreateStaticImage(252, 181, 85, 54, ":WeaponShop/img/silenced.png", false, Window) Shoutung = guiCreateStaticImage(379, 184, 82, 57, ":WeaponShop/img/shotgun.png", false, Window) Uzzi = guiCreateStaticImage(20, 319, 78, 50, ":WeaponShop/img/uzi.png", false, Window) Gas = guiCreateStaticImage(137, 318, 79, 51, ":WeaponShop/img/teargas.png", false, Window) end addEventHandler("onClientGUIClick", root, function() if source == Cerrar then guiSetVisible(Window,false) showCursor(false) setElementFrozen( localPlayer, false ) end end ) bindKey("F2","down",function() guiSetVisible(Window,not guiGetVisible(Window) showCursor(guiGetVisible(Window) end )
  2. Perdoname no? pero seria haci? Mira tengo el boton de cerrar que me anda bien pero abrirlo con f2 seria haci? Lo probe y me dice dos errores al apretar f2 Me dice Bad Argument Line 79 y 82. function Visible ( ) if ( guiGetVisible ( Window ) == true ) then guiSetVisible ( Window, false ) else guiSetVisible ( Window, true ) end end bindKey ("F2", "down", Visible)
  3. Hola amigos me dejarian un ejemplo de como hacer un Bindkey osea que se habra con f2 y se cierre con f2? Gracias
  4. Osea No me entiendes? no es para hacer Verificaciones ni nada Es solo para que En la funcion de cuando entra un player al grupo diga en el chat Ah entrado tal al grupo entiendes?
  5. Como que no? El Puede hacer que Si entra algun miembro al grupo Diga en la pantalla Si ah entrado o no Y si me equivoque bueno
  6. Server side are incomplete because i wanna complete first the client Error in debug?: Yes Line 219 223 235 and others Maybe all of here function AK47() triggerServerEvent("AK47", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonak, AK47, false) function M4v() triggerServerEvent("M4v", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonm4, M4v, false) function MP5() triggerServerEvent("MP5", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonmp5, MP5, false) function bomba() triggerServerEvent("bomba", localPlayer) hide() end addEventHandler("onClientGUIClick", granade, bomba, false) function sawn() triggerServerEvent("sawn", localPlayer) hide() end addEventHandler("onClientGUIClick", buttondoubleshout, sawn, false) function spaz12() triggerServerEvent("spaz12", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonspaz, spaz12, false) function Shotgun() triggerServerEvent("Shotgun", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonshotgun, Shotgun, false) function Satchel() triggerServerEvent("Satchel", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonsatchel, Satchel, false) function teargas() triggerServerEvent("teargas", localPlayer) hide() end addEventHandler("onClientGUIClick", btnteargas, teargas, false) function Uziii() triggerServerEvent("Uzi", localPlayer) hide() end addEventHandler("onClientGUIClick", uzi, Uziii, false) function tec9() triggerServerEvent("tec9", localPlayer) hide() end addEventHandler("onClientGUIClick", buttontec, tec9, false) function pistol() triggerServerEvent("pistol", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonpistol, pistol, false) function Silenced() triggerServerEvent("Silenced", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonsilenced, Silenced, false) function Deagle() triggerServerEvent("Deagle", localPlayer) hide() end addEventHandler("onClientGUIClick", buttondeagle, Deagle, false) function Sniper() triggerServerEvent("Sniper", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonsniper, Sniper, false) function Rifle() triggerServerEvent("Rifle", localPlayer) hide() end addEventHandler("onClientGUIClick", buttonrifle, Rifle, false) function armor() triggerServerEvent("armor", localPlayer) hide() end addEventHandler("onClientGUIClick", Armor1, armor, false) function Parachutee() triggerServerEvent("Parachutee", localPlayer) hide() end addEventHandler("onClientGUIClick", parachute, Parachutee, false)
  7. Hola amigos puede ser que alguien me corrija mis errores no entiendo porque no anda me dice error pero son muchas lineas y me confundo ajaja No es copia lo cree yo pero no entiendo que esta mal Ayudenme porfis Client
  8. Perdona no.Pero puedes poner para que te diga si una persona entro al Grupo. Osea para vereficar si entro alguna persona al grupo usa outputChatBox
  9. sisi Lo vi en muchos lados Gracias
  10. Hola amigos en facebook habian puesto un Multi Gamemode de Sigmar Nose realmente quien es sigmar pero Vi a ISG usarlo es el de el Eso no es publico verdad?
  11. Ajam pero publica la el codigo osea no te puedo ayudar ni nadie si no vemos el codigo Necesitamos ver lo que hiciste y que funcion quieres ejecutar
  12. perdona pero no te entendi que quieres hacer??? explicate mejor
  13. Bc En la comunidad hay un resource para eso y creo que viene incluido en los servidores se llama Voice
  14. Are you kidding me? yep yep 2usd 36 slots? WTF This is a joke??? forgive me but the people who will buy one of this hosting need more information about the hosting: First: Locations of the hostings. Second: Payments Thanks
  15. Ah ya entendi Gracias amigo eres el mejor jeje
  16. me das un ejemplo perdona
  17. Hola amigos bueno hace tiempo no posteaba ni venia al foro bueno quisiera saber como hacer para que Lineas y Rectangulos con dxDrawRectangle y dXDrawLine quiero que se vean en todas las resoluciones iguales como se hace o como puedo hacerlo? Gracias
  18. Hola amigos alguno sabe como crear un servidor mta en ubuntu ya que un amigo tiene un dedicado ubuntu y no sabe solamente sabe de Minecraft y Garrys mod Porfavor alguien que nos ayude?
  19. Hola amigo Tengo un broh que esta muy avanzado en scripting en lua y el Vive en Japon(Estudia alla) Bueno mandame MP si estas interesado :3 Ah y eso si te lo hace y si buscas algo mas Avanzado en Login panel u otra cosa El es el indicado
  20. function borrarDatos(admin, _, nombre) local jugador = obtenerJugadorPorParteDelNombre(nombre) --Obtengo el jugador local datos = cargarTodosLosDatos(jugador) -- Esta función me devuelve una tabla con todos los datos de la cuenta del jugador deseado(la cuenta se obtiene dentro de dicha función) local cuenta = getPlayerAccount(jugador) for indice, valor in pairs(datos) do setAccountData(cuenta, indice, "Vacío") --En cada indice obtenido de la tabla(datos) se remplaza el valor por "Vacío" removeAccount ( jugador ) end end addCommandHandler("borrar", borrarDatos) Para borrar usa removeAccount ah y no es ´ es "
  21. No te entiendo pusiste botones abajo del tab? para que pusiste botones abajo del tab?
×
×
  • Create New...