CITMartin

Members
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About CITMartin

  • Rank
    Advanced Member

Details

  • Gang
    CIT
  • Location
    Nigeria
  • Occupation
    Engineer
  • Interests
    Software
  1. Cómo obtengo la imagen del blip para utilizarlo en un dxDrawImage?, como puedo sacarlo del propio juego para usarlo en un script, sin cargar imágenes de blips en el script?, ya que quise descargarlas, pero no son archivos .png y no tienen transparencia.
  2. Configuraciones desde otro archivo lua

    funciones exportadas
  3. Compro script de armario de CJ

    A como dice el título, quiero un armario de ropas y prendas para CJ, quién me lo vende?
  4. Me encontré con un grupo en facebook llamado scripters MTA, veo que allí comparten muchos scripts, compra y venta. Tiene algo que ver con este foro en español?, porque a veces dicen que es como si fuera algo oficial de MTA?, que tan confiable es comprar scripts allí? Aqui les dejo el link: https://www.facebook.com/groups/scriptersMTA/
  5. Server y Client comandos

    Ya lo intenté y no me funcionan, parece ser que son hardcode de mta. Me gustaría saber si hay alguna otra forma de usarlos.
  6. bindKey, unbindKey, isKeyBound

    if isKeyBound (player, theKey) then When i am creating the bind, isKeyBound must be equal to true, if this is false is wrong. the function unbindKey using a commandName as an argument is wrong. Pls some developer mta check this.
  7. bindKey, unbindKey, isKeyBound

    This function bindKey, unbindKey and isKeyBound have very errors when i use it with the option 2. bool bindKey ( player thePlayer, string key, string keyState, string commandName, [ string arguments ] ) Example script: PLS, SOMEONE OF DEVELOPER OF MTA CHECK THIS function addBindServer (player, commandName, theKey, theNewCommandToAddBind) local arguments = "1 2 3 4" local theEK = bindKey (player, theKey, "down", theNewCommandToAddBind, arguments) if theEK == true then outputChatBox("Bind created: true") else outputChatBox("Bind created: false") end if isKeyBound (player, theKey) then outputChatBox("isKeyBound: true") else outputChatBox("isKeyBound: false") end end addCommandHandler("addBind", addBindServer) function removeBindServer (player, commandName, theKey) local tableOfData = getFunctionsBoundToKey ( player , theKey ) outputChatBox ("Number of Functions to key "..theKey..": "..#tableOfData) for a, z in ipairs(tableOfData) do if unbindKey (player, theKey, "down", z) then outputChatBox("unbindKey: true") else outputChatBox("unbindKey: false") end end if unbindKey (player, theKey) then outputChatBox("true") else outputChatBox("false") end end addCommandHandler("removeBind", removeBindServer) function testingFunction (player, commandName, arg1, arg2, arg3, arg4) outputChatBox(arg1) outputChatBox(arg2) outputChatBox(arg3) outputChatBox(arg4) end addCommandHandler("testing", testingFunction) DATA RETURN Bind created: true isKeyBound: false Number of Functions to key m: 0 false
  8. Server y Client comandos

    ¿Cómo puedo hacer uso de los comandos del servidor y cliente console desde un script?
  9. error with bindKey and unbindKey

    function addBindServer (player, commandName, theKey, theNewCommandToAddBind) local arguments = "1 2 3 4" local theEK = bindKey (player, theKey, "down", theNewCommandToAddBind, arguments) if theEK == true then outputChatBox(tostring(theEK)) else outputChatBox(tostring(theEK)) end end addCommandHandler("addBind", addBindServer) function addBindServer (player, commandName, theKey) local theEK = unbindKey (player, theKey) if theEK == true then outputChatBox(tostring(theEK)) else outputChatBox(tostring(theEK)) end end addCommandHandler("removeBind", addBindServer) function testingFunction (player, commandName, arg1, arg2, arg3, arg4) outputChatBox(arg1) outputChatBox(arg2) outputChatBox(arg3) outputChatBox(arg4) end addCommandHandler("testing", testingFunction) When i use in chatBox for example: /addBind m testing I can add this bind with arguments, but, when i use unbindKey, the return value bool is nil. What is the problem? Also, this type of bind is erase when i stop this script. How can stand my binds?
  10. How i can see client console script?

    I need know how it works
  11. How i can see client console script?

    Client console gui I need the script or code
  12. How i can see client console script? Some link, some information?
  13. how input client commands in console from script?

    This commands can be used by outputChatBox. I want use this same commands with others scripts and other situation.
  14. inputConsole = input string in console from server side and client side getCommandsServer = Obtain a table of https://wiki.multitheftauto.com/wiki/Server_Commands getCommandsClient = Obtain a table of https://wiki.multitheftauto.com/wiki/Client_Commands
  15. how input client commands in console from script?

    I want use https://wiki.multitheftauto.com/wiki/Server_Commands and https://wiki.multitheftauto.com/wiki/Client_Commands using my script