Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


#RooTs last won the day on March 1 2020

#RooTs had the most liked content!


About #RooTs

  • Birthday 30/07/1988


  • Gang
  • Location
  • Occupation
  • Interests

Recent Profile Visitors

4,807 profile views

#RooTs's Achievements


Jacker (39/54)



  1. what variable do I put in DX? addEventHandler("onClientTransferBoxProgressChange", root, function(size, total) barprogress = ( size / total ) end ) addEventHandler("onClientTransferBoxVisibilityChange", root, function(vis) barvisible = vis end ) barvisible = isTransferBoxVisible() dxDrawImage(botX+sizeX+343, botX2+sizeX2+701, 592/100*barvisible, 6, 'assets/progress_bar.png', 0, 0, 0, tocolor(43, 171, 226, 255), true) --or dxDrawImage(botX+sizeX+343, botX2+sizeX2+701, 592/100*barprogress, 6, 'assets/progress_bar.png', 0, 0, 0, tocolor(43, 171, 226, 255), true) sorry, but I confused
  2. i need the load function to put in dx Ex: getTransferBoxProgress()
  3. I want to know if there is any way to make this example in DX local function progressChange(downloadedSize, totalSize) if not data.browser then return false end if isVisible == false then showTransferBox() else local percentage = floor(min((downloadedSize / totalSize) * 100, 100)) executeBrowserJavascript(data.browser, "document.querySelector('.bar-progress').style.width = '" .. percentage .. "%'") end end addEventHandler("onClientTransferBoxProgressChange", root, progressChange) I want to make a slash in DX my example: --maybe in Render ?? addEventHandler("onClientTransferBoxProgressChange", root, function(downloadedSize, totalSize) local percentage = math.min((downloadedSize / totalSize) * 100, 100) dxDrawImage(botX+sizeX+343, botX2+sizeX2+701, 592/100*percentage, 6, 'assets/progress_bar.png', 0, 0, 0, tocolor(43, 171, 226, 255), true) end) --is it possible to make it inside the render? addEventHandler("onClientRender", root, function(downloadedSize, totalSize)
  4. wow..no help here. all ignorant folks. where is the support of this forum? OMG I being ignored for what reason?
  5. I only see views and no solution? can someone help me please
  6. <group name="Console"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.Console"></object> -- se você removeu essa linha da ACL e for usar o CMD do MTA não vai conseguir mesmo.. </group> coloque essa linha de novo no grupo CONSOLE se quiser usar o CMD do MTA <object name="user.Console"></object> Caso não saiba o que é o CMD do MTA é essa janela ai
  7. hello guys. initially, sorry me for my english. I'm having difficulty using this feature. https://community.multitheftauto.com/index.php?p=resources&s=details&id=11231 I've already done the entire procedure. tested everything I did the entire procedure. but it didn't work OBS: I also changed the ACL. i tried everything ( any solution? please help ) server.lua cliente.lua mailer.php my files in callRemote http://multitheftauto.rf.gd/sendemail/
  8. please, does update to resource. URL broken
  9. sem descrição https://community.multitheftauto.com/index.php?p=resources&s=details&id=15347 https://community.multitheftauto.com/index.php?p=resources&s=details&id=14083
  10. pronto esse é o code dele com os <>
  11. duplicate https://community.multitheftauto.com/index.php?p=resources&s=details&id=18461 https://community.multitheftauto.com/index.php?p=resources&s=details&id=18458 Removed.
  12. this was my last attempt function save(reason, quitType) local team = getPlayerTeam(source) local account = getPlayerAccount(source) if (quitType == "Timed out") or (reason == "Quit") or (reason == "Kicked") then if (team) and not isGuestAccount(account) then setAccountData(account, "team", getTeamName(team)) end end addEventHandler("onPlayerQuit", getRootElement(), save)
  13. hey guys. I am with problemas with my save system. I can't find a way to save the content when the player timed out part of my code my intention is to save all this content within these events "Unknown" "Quit" "Kicked" "Banned" "Bad Connection" "Timed out" -- event to save save mostly within the event "time out"
  • Create New...