Search the Community

Showing results for tags 'day'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me





Found 1 result

  1. jdcu

    Problema MTA DAYZ

    Hola chicos, bueno ocupo una pequeña ayuda con este script del dayz el problema es el siguiente: Los autos funcionan perfecto y todo el problema es que no hay sonido únicamente quien maneja el vehículo lo escucha. --Esto es lo que tengo en el survivorSystem_client.lua function toggleEngine() if getPedOccupiedVehicleSeat(getLocalPlayer()) ~= 0 then return end veh = getPedOccupiedVehicle(getLocalPlayer()) vehCol = getElementData(veh,"parent") needengine = getElementData(vehCol,"needengines") needtires = getElementData(vehCol,"needtires") needrotor = getElementData(vehCol,"needrotor") needparts = getElementData(vehCol,"needparts") needglass = getElementData(vehCol,"needglass") engine = getElementData(vehCol,"Engine_inVehicle")or 0 tires = getElementData(vehCol,"Tire_inVehicle")or 0 rotor = getElementData(vehCol,"Rotor_inVehicle")or 0 parts = getElementData(vehCol,"Parts_inVehicle")or 0 fuel = getElementData(vehCol,"fuel") if needengine == engine and needtires == tires and needrotor == rotor and (fuel > 0) and needparts == parts then setVehicleEngineState(veh,not getVehicleEngineState(veh)) end if getVehicleEngineState(veh)== true then triggerEvent("displayClientInfo",getLocalPlayer(),"Vehicle","Engine started!",22,255,0) else triggerEvent("displayClientInfo",getLocalPlayer(),"Vehicle","Engine stopped!",255,22,0) end end bindKey("k","down",toggleEngine) Y esto -- Esto es lo de vehicle_spawns.lua function onPlayerEnterDayzVehicle(veh,seat) if seat == 0 then setVehicleEngineState(veh,false) outputChatBox("Press 'K' to turn the engine on/off!",source,255,255,255) end end addEventHandler("onPlayerVehicleEnter",getRootElement(),onPlayerEnterDayzVehicle) function onPlayerExitDayzVehicle(veh,seat) if seat == 0 then setVehicleEngineState(veh,false) end end addEventHandler("onPlayerVehicleExit",getRootElement(),onPlayerExitDayzVehicle) Gracias desde ya