• Content Count

  • Joined

  • Last visited

Community Reputation

23 Decent

1 Follower

About Hydra

  • Rank
  • Birthday 13/06/2003


  • Gang
  • Location
  • Occupation
  • Interests
    Learn Scripting

Recent Profile Visitors

718 profile views
  1. You can change from admin panel -> resources -> freeroam -> settings
  2. Themes pack for MTA. ➭ This package contains 11 themes for mta ➭ Images: https://imgur.com/a/c88Db54 ➭ Download Link: https://mega.nz/file/2HIgjC4S#uinovxTYavyCacEZjdtKW8Od6nfm2L5RgcDCgXkL1AA
  3. You need to use vehicle nodes. Take a look at this posts:
  4. local Marker1 = createMarker(-82.43913, -907.21539, 17.27800 ,"cylinder", 2, 0, 0, 255, 255) addEventHandler("onMarkerHit",Marker1, function (hitElement,matchingDimension) local policePed = createPed (280, -148.21268, -959.39343, 28.35586) local PoliceCar = createVehicle(597, -148.21268, -959.39343, 28.35586, 359.447, 0.000, 90) warpPedIntoVehicle ( policePed, PoliceCar) setPedAnalogControlState(policePed, "accelerate", 1) end )
  5. Poti folosi si resursa sirenEdit
  6. setPedControlState or setPedAnalogControlState
  7. Un sondaj bine facut pe tema cu care ne confruntam acum(sa ii spun asa), eu unul l-am completat si sper sa se schimbe situatia in care ne aflam in comunitatea romaneasca de MTA. Totusi nu cred ca sunt multi care folosesc forumu/discordu pentru a vedea acest subiect dar sa speram ca se vor aduna cat mai multe raspunsuri. UP!
  8. local myObject = createObject(...) setElementDimension(myObject, dimension)
  9. Cred ca la resursa asta te referi. https://community.multitheftauto.com/index.php?p=resources&s=details&id=8424
  10. Hydra

    object movement

    mysong = playSound3D("song.mp3", 2050.0209960938, 1510.056640625, 10.671875, true) setSoundMaxDistance(mysong, 100) local a = 0 local myObject = createObject(1775, 2050.0209960938, 1510.056640625, 10.671875, -0, 0, 178.50372314453) local ox, oy, oz = getElementPosition(myObject) function animateObject() local animMusic = 0+math.random(-a,a) moveObject(myObject, 1000, ox, oy+animMusic, oz) end addEventHandler("onClientRender", getRootElement(), animateObject) function asd() if mysong then local leftData, rightData = getSoundLevelData(mysong) if (leftData) then a = 3*(leftData/3000) end end end addEventHandler("onClientRender", getRootElement(), asd)
  11. You can more easily use triggerEvent from one resource to another. Example: 1st resource: function render() your code here end addEventHandler("onClientRender", getRootElement(), render) function hideRadar() removeEventHandler("onClientRender", getRootElement(), render) end addEvent("hideRadar", true) addEventHandler("hideRadar", root, hideRadar) 2nd resource: function yourfunction() triggerEvent("hideRadar", source) end addEventHandler("yourevent", getRootElement(), yourfunction) https://wiki.multitheftauto.com/wiki/TriggerEvent
  12. Hydra

    Creearea mapei

    Ai aici toate id-urile la masini: http://weedarr.wikidot.com/veh
  13. local function init() setPlayerHudComponentVisible("radar", false) if settings.disableGTASAhealthbar then setPlayerHudComponentVisible("health", false) end if settings.disableGTASAarmorbar then setPlayerHudComponentVisible("armour", false) end if settings.disableGTASAoxygenbar then setPlayerHudComponentVisible("breath", false) end end addEventHandler("onClientResourceStart", resourceRoot, init) Put this code.
  14. Client: function hideDefaultHud() setPlayerHudComponentVisible("radar", false) end addEventHandler("onClientResourceStart", getRootElement(), hideDefaultHud) Server: function hideHud() setPlayerHudComponentVisible(source, "radar", false) end addEventHandler("onPlayerJoin", getRootElement(), hideHud)