Jump to content

Alexs

Members
  • Posts

    2,869
  • Joined

  • Last visited

Everything posted by Alexs

  1. Alexs

    Cancelar Disparo

    Exacto, mi primo me hizo una bola de nieve y la pase al GTA, pero sigue explotando y es lo que quiero evitar
  2. Alexs

    Cancelar Disparo

    usare toggleControl, y respecto a la granada q recomiendas para simular una bola de nieve??
  3. Alexs

    ¡Música!

    Plate, realmente escucho 995, sfdk, doble v y kaseo Y Simonboy los gustos varian y son todos respetables, justamente por tu necesidad de hacer q otros tengan tus gustos fue qe te abandone...
  4. Hola a Todos, queria saber si es posible cancelar el evento "onClientPlayerWeaponFire". Edit: Tambien pero menos importante saber si es posible cancelar una explosion de granada.
  5. Hola a Todos, queria saber como hacer lo que se hace en FFSGaming que al cargar el juego ves una camara apuntando a la playa y tambien quiero saber como es que distorsinan/desenfocan la pantalla cuando esta el panel de Log/Reg.
  6. Hola a Todos, les mostrare un monton de PM's enviados a mi por un usuario al que llamare Atomel: se lo se, solo quiero ser tu amigo ya no entrare mas en su server debido a que ya hostee al mio, dale seamos amigos :c, antes erasmoa migos e.e, porq no me quieres alla ? no jodere ni nada e.e D: porq no te gusto como admin ? :c yo te insulte ? creo que tu te insultaste, abuse ? nunca, me metia con los zombies debido a que los players me lo pedian :c eres re pesado :C Y Luego, cuando el supo que cerre mi servidor me envio este mensaje: PD: Me dice controlador por que ya que abusaba e insultaba hice que lo bannearan, pero segun el, el no insultaba e.e A lo que respondi: Lo cerre para escaparme de Simonboy, ahora tendre Hosting Gratis + Espacio en su Foro Web y podre programar para ellos PD: Tambien tendremos un VPS en USA con exceleste Ping Edit: Si creiste que me ofenderias te equivocas, me das pena men Diganme que opinan de Atomel y su actitud
  7. No estoy seguro, pero creo que se puede hacer algo como esto: function creargui() function CL() dxDrawImage(BLABLABLA) end addEventHandler("onClientRender",root,CL) end addEvent("mostrarbanderaCL",true) addEventHandler("mostrarbanderaCL",root,function() creargui() end )
  8. Hola a Todos, queria saber como hacer que un GUI se mueva hacia arriba cuando haya un nuevo dato y si este sube por 5 vez se disuelva para mantener 5 lineas en el KillMessages, algun script como base?
  9. ¡Se ve muy bueno! ¡En una de estas horas me paso a verlo por ahí! Jugabilidad: Esta cerrado Calidad: Esta Cerrado Por si no lo mencione esta cerrado, reabre en unas semanas gracias a GPC ¿Que le pasó? ¿Por qué cerró? Cerro por que.. jajaja no habia leido eso "cuenta con el sistema de rangos (gracias a Alexs_Steel) ... bueh, cerro por que Simonboy me lo pagaba pero le metia boludeces como stream (en un servidor Zombies de RPG) asi que decidi cerrarlo, pero GPC me ofrecio hosting asi que lo reabro cuando ellos compren el VPS
  10. Jugabilidad: Esta cerrado Calidad: Esta Cerrado Por si no lo mencione esta cerrado, reabre en unas semanas gracias a GPC
  11. Wow! que genial el diseño del auto, pero no me gusta el drift
  12. 2 Cosas: 1- el de arriba tiene razon (olvide quien lo dijo), nadie aca ayuda a quien no desee aprender. 2- Usa la wiki MTA, es bastante completa: https://wiki.multitheftauto.com/wiki/Main_Page y el Tutorial de Nixtaller sobre LUA, siempre lo recomiendo: http://nixstaller.sourceforge.net/manua ... ler_9.html PD: Tambien hay algunos en español, pero si no sabes ingles mejor aprende antes de saber LUA, ya que es mas facil comprender las funciones y la wiki esta muy incompleta en español.
  13. Alexs

    no aparece :/

    function dxLogo() logo = dxDrawText("[PGS]BaseMode Server",632.0,7.0,765.0,22.0,tocolor(13,227,184,190),1.0,"default-bold","left","top",false,false,true) dxDrawRectangle(624.0,6.0,151.0,19.0,tocolor(0,0,0,170),false) setElementData(getLocalPlayer(),"text","logo") end function dxWebSite() website = dxDrawText("http://website.com",632.0,7.0,765.0,22.0,tocolor(13,227,184,190),1.0,"default-bold","left","top",false,false,true) dxDrawRectangle(624.0,6.0,151.0,19.0,tocolor(0,0,0,170),false) setElementData(getLocalPlayer(),"text","website") end function destruirLogo() destroyElement(logo) end function destruirWebSite() destroyElement(website) end function condiciones() if getElementData(getLocalPlayer(),"text") == "logo" then setTimer(destruirLogo(), 60000, 1) addEventHandler("onClientRender",root,dxLogo) removeEventHandler("onClientRender",root,dxWebSite) elseif getElementData(getLocalPlayer(),"text") == "website" then setTimer(destruirWebsite(),60000, 1) addEventHandler("onClientRender",root,dxWebSite) removeEventHandler("onClientRender",root,dxLogo) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),condiciones)
  14. Adivino, malformed number, la IP es un string y el puerto un number
  15. Gracias, son realmente utiles
  16. Hola a Todos, queria saber como hacer que una StaticImage se agrande, se mueva o se cierre a un lado de la pantalla, pero de manera animada, no q este en un lado y luego en el Otro, no se me ocurre como hacerlo
  17. This Post is dead, maybe some moderator can edit it
  18. Ok The Test Server is OFF or unconnectable, check your connection
  19. Good Luck with all, i can recommend you Post some images of the GamePanel and provide more information about the Hosting Machine (SO and Bandwith)
  20. Cheap, MySQL, post a test server to see the Ping and just a question. What About Control Panel? PD: If you use Linux there is a lot of options in Control Panel for Game Servers
  21. Alexs

    Zombies

    eso es editable en el recurso mismo
  22. 2 Cosas que me aparecieron ahora: Me cargo bien el client asi que el server ahora marca los errores de esto, lee el debugscript de la foto: http://i47.tinypic.com/2878t1.png function getDefinitions ( startedMap ) local mapRoot = getResourceRootElement ( startedMap ) local spawnred = getElementsByType ( "spawnred", mapRoot ) local spawnblue = getElementsByType ( "spawnblue", mapRoot ) for teamr, rojos in pairs ( getPlayersInTeam ( Rojos ) ) do local randomPoint = math.random ( #getElementsByType ( "spawnred", mapRoot ) ) local x, y, z = unpack ( getElementData ( getElementsByType ( "spawnred", mapRoot ) [ randomPoint ], "position" ) ) local rot = getElementData ( getElementsByType ( "spawnred", mapRoot ) [ randomPoint ], "rotation" ) spawnPlayer ( rojos, x, y, z, rot, 170 ) end for teamb, azules in pairs ( getPlayersInTeam ( Blue ) ) do local randomPoint = math.random ( #getElementsByType ( "spawnblue", mapRoot ) ) local x, y, z = unpack ( getElementData ( getElementsByType ( "spawnblue", mapRoot ) [ randomPoint ], "position" ) ) local rot = getElementData ( getElementsByType ( "spawnblue", mapRoot ) [ randomPoint ], "rotation" ) spawnPlayer ( azules, x, y, z, rot, 188 ) end end addEventHandler ( "onGamemodeMapStart", getRootElement(), getDefinitions )
  23. Hola a Todos, hice esto: botred = guiCreateStaticImage(0.2013,0.2517,0.2475,0.4467,"Teams/Red.png",true) botblue = guiCreateStaticImage(0.5575,0.225,0.2688,0.4917,"images/Blue.png",true) function bigImage ( ) if (source == botblue) then local gxb,gyb = guiGetSize(botblue) guiSetSize ( botblue, gxb + 0.075, gyb + 0.075, true ) playSound("Sounds/button.mp3") elseif (source == botred) then local gxr,gyr = guiGetSize(botred) guiSetSize ( botblue, gxr + 0.075, gyr + 0.075, true ) playSound("Sounds/button.mp3") end end addEventHandler("onClientMouseEnter", root, bigImage) function smallImage ( ) if (source == botblue) then local gxbd,gybd = guiGetSize(botblue) guiSetSize ( botblue, gxbd - 0.075, gybd - 0.075, true ) elseif (source == botred) then local gxrd,gyrd = guiGetSize(botred) guiSetSize ( botblue, gxrd - 0.075, gyrd - 0.075, true ) end end addEventHandler("onClientMouseLeave", root, smallImage) Se supone q al tocar la imagen esta crece en 0.075 relativo, pero dice que gxrd gyrd gxr y hyr es un boolean y no se ve la imagen azul al entrar al servidor, que esta mal?
  24. Gracias, cuando pueda lo testeo y reposteo para que se mueva hacia arriba y sepan que lo probe
  25. Error en la linea 9: bad argument #1 to pairs, expected table got boolean Error en la linea 11: bad argument #1 to unpack, expected table got userdata
×
×
  • Create New...