Jump to content

Search the Community

Showing results for tags 'verificar'.

  • 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. function updateVeh(vehicle) local id = getElementData (vehicle, "TS:VehicleID") --element data que ira setar no veiculo ao ser spawnado pela concessionaria if id then local result = dbPoll(dbQuery (db, "SELECT * FROM Inventario WHERE Vehicle = ?", id), -1) --database do porta malas local data = dbPoll(dbQuery (db, "SELECT * FROM Veiculo WHERE Vehicle = ?", id), -1) --database do porta malas if type (result) == "table" and type (data) == "table" then setElementData(vehicle, "TS:VehicleItens", result) --irá setar os itens q tem no porta malas do carro setElementData(vehicle, "TS:VehiclePeso", data) --irá setar o peso q o veiculo tem isso aq tá dando erro ao clicar no end --carro por isso preciso da ajuda de vcs end end createEventHandler("TS:updateVeh", getRootElement(), updateVeh) queria um event q verificasse se o carro foi spawnado no servidor e que no momento q o carro for spawnado executasse a função ai em cima
  2. eu queria fazer com que quando o player saia do carro de sedex ele tenha 10 segundos para voltar senao o carro despawnaria entao poderia me ajudar com isso
×
×
  • Create New...