Jump to content

TimeTraveller

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by TimeTraveller

  1. I would like to know how to do that, for example, you place a command like /bet, place an amount of money that you want but that you have, and that money is discounted or doubled when you place it, randomly.
  2. I want to give money (10$) when you hit a checkpoint in Race, this is the code but it not work. What's Wrong? function giveplayermoney (thePlayer, checkpoint) local money = getPlayerMoney(thePlayer) if (money > 10) then local elementType = getElementType(hitElement) end addEventHandler("onMarkerHit", thePlayer, giveplayermoney)
  3. I live in Venezuela and i have a new server no-hosted, and i want to do it, do you know about a Good Hosting service and maybe accept local cash?
  4. I have the script of Money scoreboard in my server, if you have for example, a million of dollars it appears like "1000000" but i don't know how to modify for it appears like "1.000.000" with points or "100.000" "1.000". I am new in this page and hello to everyone. Im not new in MTA and i saw a lot of functions here but i don't know how to do that. exports [ "scoreboard" ]:addScoreboardColumn ( "Money", 3 ) -- Add the "Money" column to the scoreboard. function updatePlayersMoney ( ) -- Create "updatePlayersMoney" function. for index, player in ipairs ( getElementsByType "player" ) do -- Loop through all online players. setElementData ( player, "Money", getPlayerMoney ( player ) ) -- Set "Money" element data to the player money. end -- End our loop. end -- End our function. setTimer ( updatePlayersMoney, 2500, 0 ) -- Set a infinite 2.5 seconds timer to execute "updatePlayersMoney" function.
×
×
  • Create New...