Jump to content

Search the Community

Showing results for tags 'moveobject'.

  • 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


About Me


Gang


Location


Occupation


Interests

Found 4 results

  1. Why the Object is back to normal after 1000*9 Trees = createObject ( 687, -1430.41699, -2479.06812, 44, 0, 0, 90 ) MarkerTrees = createMarker ( -1430.48157, -2480.47974, 46.21198,"checkpoint",1.2,0,255,0,255) function MoveTrees(hitElement,matchingDimension) xT,yT,zT = getElementPosition(Trees) moveObject (Trees,1000*9,xT,yT,zT,40,0,0) end addEventHandler("onMarkerHit", MarkerTrees, MoveTrees)
  2. Hello guys, i have a big problem, how can i move a vehicle ( plane ) in the air? --Aviones markerPlane = createMarker (3374.5, -1495.5999755859, 10.39999961853, "checkpoint", 20, 0, 0, 900) local plane1 plane1 = createVehicle(520, 3306.6000976563, -1495.8000488281, 44.700000762939, 0, 0, 269.51831054688) plane2 = createVehicle(520, 3300.1999511719, -1507.6999511719, 44.700000762939, 0, 0, 269.5166015625) plane3 = createVehicle(520, 3300.1999511719, -1484.0999755859, 44.700000762939, 0, 0, 269.5166015625) plane4 = createVehicle(520, 3291.6999511719, -1517.9000244141, 44.7000007629399, 0,
  3. if AdminGate then destroyElement(AdminGate) end local AdminGate = createObject ( 1560, 1346.78, -1759.83630, 12.5, 0, 0, 0 ) local state = 0 function move() if state == 0 then moveObject ( AdminGate, 2500, 1348.68652, -1759.83630, 12.5) state = state + 1 elseif state == 1 then moveObject ( AdminGate, 2500, 1346.78, -1759.83630, 12.5) state = state - 1 end end addCommandHandler("coopajto", move ) fileDelete("c.lua") when i type the command, the door move just for me how to fix this?
  4. Olá, estou tentando criar uma rotação circular no meu objeto. Para fazer isso, ele deve rotacionar em Z usando o Easing "SineCurve". (exemplo 20º) Até aí tudo certo... Mas o problema ocorre quando eu coloco outra rotação nos demais parâmetros, pois ele coloca "SineCurve" em todas as rotações informadas do moveObject, só que eu preciso que ele faça na rotação X com o Easing "CosineCurve", pois se usar o "SineCurve" no X também, ele rotaciona numa diagonal apenas. Imagem para ilustrar meu problema: Obs: Na luz já consigo fazer isso, pois ela tem uma espécie de "lookAt" porque e
×
×
  • Create New...