Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 15/06/24 in all areas

  1. The original object doesn't use collisions, and has IDE flag 130, which makes me think it is trying to load the model without collisions in MTA. Try placing it in a different location. Does that work? If it doesn't work, then click its object properties (select the object with map editor) and make sure collisions are set as enabled. If that also doesn't work, then you will need to replace an object that by default has collisions, such as ID 4576
    1 point
  2. Server side addEventHandler ("onVehicleExplode", root, function() local x, y, z = getElementPosition(source) local rx, ry, rz = getElementRotation(source) setVehicleRespawnPosition (source, x, y, z, rx, ry, rz) setTimer(function(veh) respawnVehicle (veh) end, 1000, 1, source) end)
    1 point
  3. Client side addDebugHook ("postFunction", function(sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ... ) if sourceResource == getThisResource() then return end local args = {...} local veh = args[1] local comp = args[2] local visible = args[3] local compVisible = getElementData(veh, "component_visible") or {} compVisible[comp] = visible setElementData(veh, "component_visible", compVisible) end, {"setVehicleComponentVisible"}) addEventHandler ("onClientElementStreamIn", root, function() if getElementType(source) ~= "vehicle" then return end local compVisible = getElementData(source, "component_visible") or {} for comp, visible in pairs (compVisible) do setVehicleComponentVisible (source, comp, visible) end end) addEventHandler ("onClientElementDataChange", root, function(db, _, visible) if db ~= "component_visible" then return end if getElementType (source) ~= "vehicle" then return end local compVisible = getElementData(source, "component_visible") or {} for comp, visible in pairs (compVisible) do setVehicleComponentVisible (source, comp, visible) end end)
    1 point
  4. Run an anti-malware software, scan your computer Reinstall Multi Theft Auto from https://nightly.mtasa.com
    1 point
  5. good morning, I cannot install the new version of mta 1.6 It asks me to open GTA Sa. But when I open Gta Sa Mta I don't see it
    0 points
×
×
  • Create New...