Jump to content

Search the Community

Showing results for tags 'help script'.

  • 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. Hi, I'd like some help solving the problems in my script. it substitutes objects per table, but I can not verify the name and ID and give the correct functions to run everything, someone to help? Garage_OBJ_COL = { {"garage_1.col",1484}, {"garage_2.col",1485}, } function replacemodels(player) for i,OBJ in ipairs(Garage_OBJ_COL) do table.insert (engineLoadCOL,{OBJ[1]}) table.insert (engineReplaceCOL,{OBJ[2]}) end end addEventHandler("onResourceStart",root,replacemodels)
  2. Olá amigos,olha eu aqui novamente.Estou com um mini script que eu fiz para abrir/fechar o portão como podem ver nas prints baixo ao invés dele só abrir para a esquerda e voltar normalmente ele está dando alguns 360 maluco haha zueira,abaixo da prints está o código para que possam analisar Obrigado! CODIGO local gate = createObject(971, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90) function open() moveObject(gate, 2000, 1543.4000244141, -1619.0999755859, 15.89999961853, 0, 0, 90 ) end addCommandHandler("abrir", open) function close() moveObject(gate, 2000, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90 ) end addCommandHandler("fechar", close) OBS: Tanto para abrir e para fechar o portão está se retorcendo assim!
×
×
  • Create New...