Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/03/23 in all areas

  1. Multă baftă! Din nou, este ceva nou în comunitatea românească de care avem nevoie! ?
    1 point
  2. Interesant, mult succes cu proiectul cine stie poate o sa iasa ceva cool.
    1 point
  3. Thank you very much for your advice! I thought that he would not ask such a question, since the default GTA HUD has such an animation by default, and did it right on the user interface. Here is the corrected code: Client: local delay = 20 function moneyChange(commandName, count) count = tonumber(count) if type(count) ~= "number" then return end local operaceType = "give" if count < 0 then operaceType = "take" count = -count end local addMoney = 0 local modf = 1 if count > 100 then modf = modf*10 end if count > 1000 then modf = modf*10 end if count > 10000 then modf = modf*10 end if count > 100000 then modf = modf*10 end if count > 1000000 then modf = modf*10 end local timer = setTimer(function() addMoney = math.random(1,modf) count = count - addMoney if count < 1000000 and modf == 100000 then modf = modf/10 end if count < 100000 and modf == 10000 then modf = modf/10 end if count < 10000 and modf == 1000 then modf = modf/10 end if count < 1000 and modf == 100 then modf = modf/10 end if count < 100 and modf == 10 then modf = modf/10 end if count <= 0 then triggerServerEvent("money:moneyChange", resourceRoot, localPlayer, count + addMoney, operaceType) count = 0 if isTimer(timer) then killTimer(timer) timer = nil end return end triggerServerEvent("money:moneyChange", resourceRoot, localPlayer, addMoney, operaceType) end, delay, 0) end addCommandHandler("money", moneyChange) addEventHandler("onClientRender", root, function() dxDrawText(tostring(getPlayerMoney(localPlayer)), 500, 300, _, _, _, 3) end) Server: addEvent("money:moneyChange", true) addEventHandler("money:moneyChange", root, function(player, count, operaceType) if not player or not count or not operaceType then return end if operaceType == "give" then givePlayerMoney(player, count) else takePlayerMoney(player, count) end end)
    1 point
  4. Hello after a long break I am back to making videos ! In this video, I'm presenting you with a parody of NFS Underground 1 Endless Tunnel. Feel free to Subscribe and Like the video if you enjoyed it. ?
    1 point
  5. What is a Helper? Helpers are regular members of the Community who dedicate some of their time to help others. They are recognized by MTA for standing out as friendly and helpful support for scripting, technical and other topics. Helpers serve as role models for the Community and are easily approachable for general advice, problem solving or pointing to the right direction. Helpers can move threads into the correct sections, but cannot assist with moderation, unless they are also a Moderator. They can be identified by their unique rank and colored name. How can I become a Helper? Helpers are recruited through invitation only. There is no way to apply for this role, however we are on constant lookout for, and pick members who provide solid, helpful advice over a longer period of time. To make communication easier between MTA Staff and Helpers, they have their own private channels to liaise and discuss general Forum and Discord issues. It is required to have a Forum account in order to become a Helper, but there are no activity requirements. List of Helpers Tekken iDannz Cuervo_fi Paweł The_GTA Reyomin Vampire Abasalt_Yar Nico834 Kecskusz TMTMTL
    1 point
×
×
  • Create New...