Jump to content

iFoReX

Members
  • Posts

    1,708
  • Joined

  • Last visited

Everything posted by iFoReX

  1. He speak spanish, I think he is Chilean or of Argentina
  2. :3 yo que tu uso GUIEditor :3 es genial yo siempre hago Guis con este programita
  3. ponle como evento onClientPlayerJoin
  4. creo q a soren le falto un espacio :yaoming: for i = 16094 do removeWorldModel(i,8192, 0, 0, 0) end simon por lo menos aunquesea lees los codigos ? -.-
  5. iFoReX

    Help

    with 'destroyElement'
  6. #0T : Lo hiciste tu ?, sigues con eso ¬_¬
  7. Quizas esto te ayude viewtopic.php?f=108&t=27006&hilit=stage
  8. yo no entiendo como funciona, si uno graba luego donde se va ese video ?
  9. function consoleSetPlayerPosition ( ) setElementPosition ( localPlayer, PosX, PosY, PosZ ) end addCommandHandler ( "lugar1", consoleSetPlayerPosition ) function consoleSetPlayerPosition2 ( ) setElementPosition ( localPlayer, PosX, PosY, PosZ ) end addCommandHandler ( "lugar2", consoleSetPlayerPosition2 ) ai ise algo menos complicado
  10. se me habia olvidado el createElement :c
  11. EDIKOSH ... Creo q no se podra eso de la precentacion a menos que sea con muchas imagenes , suerte con eso
  12. que yo sepa no ai un elemento llamado ni bot ni zombie aqui la lista de elements https://wiki.multitheftauto.com/wiki/Element
  13. #OFFTOPIC: Me darias el link porfavor de ese resource
  14. El mio era solo una suposicion para saber si ya habia entendido no era nada serio
  15. In a some days I buy a host ClanZNetwork for my server of MTA , it service is good ? nice pings ? or it doesnt ?
  16. aah :3 function() outputChatBox("Holaa") if string.find(string, "Holaa") then ---------------------------------------- end end algo asi funcionaria ?
  17. Ook pero para que se va a querer buscar un string en una variable :3 ?
  18. Las Cosas del if y eso + - * / % ^ # == ~= <= >= < > = ( ) { } [ ] ; : , . .. ... lo saque de aqui si quieres mas sobre esto http://www.lua.org/manual/5.1/es/manual.html#2
  19. creo q eso nunca funcionaria max power 1. donde definiste que si el player ataca al bot este daño se cancelaria ? ai dice que si el ataquer ataca se cancela el evento de daño tu tambien Trata de pensar tus codigos
  20. iFoReX

    QT to Lua

    Simon Holaa #0FFTOPIC: Mandame tu nueva IP por PM esto es para remover objetos default removeWorldModel y para hacer una entrada la haces con el editor
  21. Pekio hace un tiempo ise uno algo parecido function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) ax = ax + w color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end last = e + 1 s, e, cap, col = str:find( pat, last ) end if last <= #str then cap = str:sub( last ) local w = dxGetTextWidth( cap, scale, font ) dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) end end local messageJoin = "" local messageQuit = "" function renderPlayerJoined ( ) dxDrawColorText("* ".. messageJoin,504.0,4.0,574.0,20.0,tocolor(200,0,0,255),0.7,"sans","left","top",false,false,false) end function renderPlayerLeft ( ) dxDrawColorText("* ".. messageQuit,503.0,16.0,573.0,32.0,tocolor(0,0,255,170),0.7,"sans","left","top",false,false,false) end addEventHandler('onClientPlayerJoin', root, function() messageJoin = getPlayerName(source) .. " #ffffffa entrado al servidor." addEventHandler ( "onClientRender", root, renderPlayerJoined ) setTimer ( function ( ) removeEventHandler ( "onClientRender", root, renderPlayerJoined ) end ,6000,1 ) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('* ' .. oldNick .. ' #ffffffis now known as ' .. newNick, 255, 100, 100) end ) addEventHandler('onClientPlayerQuit', root, function(reason) messageQuit = getPlayerName(source) .. " #ffffffa salido del server [" .. reason .. "]" addEventHandler ( "onClientRender", root, renderPlayerLeft ) setTimer ( function ( ) removeEventHandler ( "onClientRender", root, renderPlayerLeft ) end ,6000,1 ) end ) ai investiga mi codigo espero averte ayudado
  22. I have a server But only when Im ON is ON my server, I want a host for it , very much users tell me : put host to ur server will great
  23. addEventHandler ("onPlayerSpawn", root, function ( ) if (jugadoresEnDM [ source] ) then giveWeapon ( source, 38, 999) end end ) :3
  24. Re bueno edikosh gracias a ti ya entendi SQl Muchas gracias EDIT: esto estaria bien ? addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() executeSQLQuery("CREATE TABLE IF NOT EXISTS Skins (Cuenta STRING,Level NUMBER)") end pero que otro eventos tendria que utilizar ? :3
×
×
  • Create New...