Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 20/04/21 in all areas

  1. pAttach Optimized bone attach thanks to the new MTA functions/events. This resource doesn't match with well known bone_attach, you can not use the same parameters! Documentation moved to GitHub! Go to GitHub...
    1 point
  2. Por nada, qualquer coisa posta aí no fórum
    1 point
  3. E aonde está sendo chamado a função Progress? Testa com esse comando aqui para ver se funciona: function Progress(playerSource, tempoms) triggerClientEvent(playerSource, "Progress:bar", playerSource, tempoms) end addEvent("Progress:bar", true) addEventHandler("Progress:bar", root, Progress) function teste(playerSource) Progress(playerSource, 5000) end addCommandHandler("teste", teste)
    1 point
  4. local posMarkers = { [1] = {x, y, z}, -- x, y e z são as posições dos markers [2] = {x, y, z}, [3] = {x, y, z}, [4] = {x, y, z}, } local markers = {} --Tabela para armazenar os marker para excluir depois addCommandHandler("marker", function() --Comando para adicionar os markers é /marker for i, value in ipairs(posMarkers) do markers[i] = createMarker(posMarkers[i][1], posMarkers[i][2], posMarkers[i][3], "cylinder", 2.0, 255, 255, 255) --Cria o marker end end) addCommandHandler("removemarker", function() --Comando para remover os markers é /removemarker if type (markers) ~= 'table' or #markers < 1 then return end --Verificando se há marker salvo na tabela markers for i, marker in ipairs(markers) do destroyElement(marker) markers[i] = nil end end)
    1 point
  5. I'm well aware of this. But the title of the thread is "Ho i can make elseif in script ?", and since he didn't seem to know how to properly structure the if statements - I thought I'd help him out. I never said your method does not work.
    1 point
  6. Before 4 days ago , I was playing suddenly the game became "not responding" , I went to turn it off "Task Manager" but it was not closed, I reinstalled the game and then the problem appeared. ?I have reinstalled more than once ,gta sa , mta sa with run as administrator and without, Things I tried: -booting into clean boot mode(without third-party services) -installing mta nightly -uninstalling using uninstall.exe, restarting PC, running mta setup as administrator please heelp
    0 points
×
×
  • Create New...