Jump to content

Search the Community

Showing results for tags 'day'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. ►Brazil Survival (rust/dayz)◄[ALPHA 1.10]-LVL,BUILD,ZOMBIES,PVP,MISSIONS♦ Base grátis (informações no discord) Discord: http://discord.gg/CT4ZRsY2wG IP: mtasa://51.81.94.231:22003
  2. 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
×
×
  • Create New...