Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/08/21 in Posts

  1. Since the leak of the first versions of OWL, clone RP servers were opened to be closed within a week or two. Now that OWL is open source, will these servers last longer, due to the *now legal scripting support here on MTA Forums*, or will they drop at record speeds? Only time will tell... What are your takes on this?
    1 point
  2. I didn't say servers shutting down are only because of the gamemode they use. The take here was whether or not the open source will help to increase the lifespan of a previously leaked gamemode based server, or decrease it, as low as it may be compared with all the management related decisions and tasks.
    1 point
  3. this code is wrong, it will work if you change it to below code local total_officers = 0 local all_players = getElementsByType("player") for num,this_player in ipairs(all_players) do if getElementData(this_player,"Officer") then total_officers = total_officers + 1 end end dxDrawText(total_officers, x*696, y*230, x*913, y*268, tocolor(240, 240, 240, 200), 0.90, fonte, "center", "center", false, true, true, false, false)
    1 point
  4. you can use this command, this command giving only 1 error message local projectilespam = {} addEventHandler( "onClientProjectileCreation", getRootElement( ), function(creator) if projectilespam[creator] then return end projectilespam[creator] = true setTimer(function() projectilespam[creator] = false end, 500, 1) -- Blah blah blah end)
    1 point
  5. Maybe you can test using this functions if you tell me more of what you want to do maybe i can help you xd https://wiki.multitheftauto.com/wiki/OnClientProjectileCreation https://wiki.multitheftauto.com/wiki/GetProjectileTarget
    1 point
×
×
  • Create New...