Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Captain Cody

  1. https://github.com/CodyJL/mta-edit

     

    MTA Edit (Editor 2) Alpha, there are many things I need to finish up however it's Chirstmas eve and I'm done with it for the year so there it is.

    Does not have saving or loading, however that'll come next month.

    I've worked countless nights trying to get it done by Christmas but there's just so much and I still have a few weeks / months worth of work to put into it.

    • Like 2
  2. Black Anomaly is an MTA bug, no way I can fix it. Bridge copy is a LOD issue I don't know how to remove it. Link bridge sign is due to the quaternion to Euler porting, I'll fix it when my new editor is done.

     

    (Infact I'll be fixing a bunch of bugs as soon as my new editor is done, including those that were in VC to begin with)

     

  3. I actually fully agree with Vaz, current GUI system is very outdated. While yes you can change skin or whatever many people don't know how to do that; plus CEGUI is slow and lacking a lot of features.

    • Like 1
  4. Element data is not that bad when used properly; for a beginner when used with caution element data is just fine. That being said; in the future it's better to make your own element data system to improve performance when systems needing element data start growing.

  5. timers = {}
    
    function Salir()
        if isElement(tableVehicles[source]) then
            destroyElement(tableVehicles[source])   
        	if timers[source] then
          		killTimer(timers[source])
         	end
    		timers[source] = setTimer ( removeVehicle, 1000, 1, source )
        end
    end
    
    function removeVehicle(player)
      destroyElement(tableVehicles[player])
      tableVehicles[player] = nil
    end
    
    addEventHandler("onPlayerVehicleExit",getRootElement(),Salir)

    Also, next time please use https://forum.multitheftauto.com/forum/71-scripting/

    or the corresponding scripting section for your language (Which from what I can tell is obviously not English.)

    • Thanks 1
×
×
  • Create New...