Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About Maark

  • Rank

Recent Profile Visitors

315 profile views
  1. I found a problem, when panel is closed, if you move your mouse, the cpu usage from resource will increase a lot (A LOT!), i will try to fix this, probably is the event system
  2. No, i dont know about this function, i put in the code and now is 2451 KB in memory @edit, i put 6 times and now is 212KB, thats nice (i see in stackoverflow we need use 2 times do destroy)
  3. Ty, but still 36403KB in memory =/
  4. im trying to do like this local string = nil function FileUnProtection(path, key, clear) print("loaded") local file = fileOpen(path) local size = fileGetSize(file) local FirstPart = fileRead(file, 65536 + 4) fileSetPos(file, 65536 + 4) local SecondPart = fileRead(file, size - (65536 + 4)) fileClose(file) if file ~= nil then file = nil end if size ~= nil then size = nil end return decodeString('tea', FirstPart, { key = key })..SecondPart end function FileUnProtection2(path, key, clear) if path and key and clear == nil then print("loading") local returnDATA = FileUnProtecti
  5. how i can do that? i trying right now but its not working :X
  6. this save in a variable a lot of MB, i can clear it and still working the dff? u know?
  7. first, use code <> to fix the problem, you need put the player in arguments to get account data bool triggerServerEvent ( string event, element theElement, [arguments...] ) code fixed: bank = triggerServerEvent("bank-hajs-panel", localPlayer, localPlayer) (you are sending the event to localPlayer, and sending the localPlayer in arguments to get the data.) if i help u, give a thanks pls!
  8. i want get the vehicle/skins xml (list) in other resource, ex: "resource called: xmlList" so, i create a command or a function to update it. Like, i add another vehicle to Freeroam, i dont need restart freeroam, i just need restart the xmlList and do a command "ex: /restartvehiclelist" and freeroam reload the xml without restarting
  9. I want to create a "system" to update any xml (or only the vehicles.xml) without restart the Freeroam. Like, i create a second resource with alls xml's ex: resouce1: freeroam, resource2 = xmllist, then i put in xml options in freeroam, the ':xmllist/vehicles.xml' for example. (everything alright) But, when i restart the xmllist, do not update the freeroam, and i want create a command or a way to "refresh" the xml/gridlist. I found a way, but it "duplicate" the freeroam window. function testeeetalkei() wndCreateVehicle = { 'wnd', text = 'Create vehicle', width
  10. do you have plans for this to work on Lives or does the MTA not let it?
  11. Thank you! worked and the problem is fixed. I updated to version 20402 and everything is 100% now.
  12. I fix 3 events without first argument, but nothing happened =/
  13. Interesting, but in my case it doesn't triple and etc, it just doubles, regardless of how many players I will check to see if it is related to this
  14. I'm having a problem, when I'm on a team, some outputChatBox end up doubling, both the chat, as well as some alert scripts, and for those who aren't on any team, it remains normal, in the Log, everything is normal. Note: it is not a problem of Freeroam, Tag script. I search in all my files for outputChatBox and found nothing wrong. In team: Without TEAM set: Is this a MTA problem? (Everything was normal when I closed the server, reopened with everything the same and now this is happening.) (Closed the server in 1.5.6 and re-opened in 1.5.7)
  • Create New...