Jump to content

Search the Community

Showing results for tags 'money'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 15 results

  1. The old server called one life have reopened and it's ready for players to join and have fun OneLife - Survival DayZ [MTA] What is OneLife? OneLife is an MTA community, We want to offer our players the full fun, which is why we have a dedicated team for each of our projects. However, I'll tell you something about our DayZ server now Dayz Features: The login system: The first thing every player sees from a server is, of course, the login system. To give our players a change, we have added a completely different login system on our server which differs from the other unedited DayZ scripts. The Spawns: You spawn with us in newly added Various Spawns on the map. In the inventory, you will find some start items that may guide you through this difficult time. Money: On our server, you have the opportunity to earn money by killing zombie's and players. Trading: By earning money you also have the opportunity to exchange items and vehicles with players. This is usually done in the safe zone as this is the safest place. The Safezone: If you need peace and quiet from the whole survival, the Safezone is just right for you. There you can relax and just enjoy the peace and quiet. There are actually always players to be found, which, however, can neither shoot nor aim. In Safezone, your survival time and your existing blood do not go up or down Of course, you are safe there from the birth of hell. Custom Map: On our server, we have a lot of own mapping. In addition to the normal "reconstruction work" to a destroyed world. And much more: In addition to the listed features, there are still many more to explore! How can you see it all? Very easily! Trust in us and try your luck in the wilderness between zombies, bandits, animals and heroes! HOW DO YOU REACH US ?: You can only reach our game server with the MTA client The IP is as follows: mtasa: //192.99.197.9: 22013 You can reach our Discord at: discord.gg/EqGhKpD In the end, I thank you for your attention. I hope I see some of you in the game soon.
  2. Video: https://www.youtube.com/watch?v=nC3NjUqIiWY&feature=emb_title Download: https://bit.ly/forseti-fishing -------------------------------------- Hello! This is a fishing script that was originally used in our own server and it was beloved by our players, quickly becoming the most popular way of gaining money. It was inspired by Stardew Valley and Don't Starve, as it works in a very similar way. Steps are simple: You need to find a fisherman on the map. They are very common and they can be found pretty much anywhere that has water nearby.- If you have a fishing rod you can go near water and the game will give you a prompt. If you click or press 'B', you will throw your hook into the water. You will wait a little until a fish bites the bait, then you click again to reel. While you are reeling in the fish you need to complete a minigame. The green rectangle must be on top of the fish for a few seconds and if you can manage that by clicking and releasing, you will catch it. Every fish has it's own price per pound, minimum weight, maximum weight and rarity. Less common fish are usually worth far more than common ones. The pearl is the ultimate treasure, as it's very rare and can be worth up to $80.000. Your inventory is saved and you will not lose your loot upon logout. (as long as you configured the script for your own saving system. See below) You can press 'I' to open your fishing inventory to see what you currently have and how much they are worth. This screen also includes credits. After you are satisfied with what you have, you can always go back to fishermen around the map and sell your loot. Fishermen can be found pretty much anywhere on the map near the sea. You can add, change and remove fisherman locations. ------------------------------------------------------------------------------------------------------------------ Here is a list of changes that can be made: You can add more fish You can remove fish You can change fish names You can change fish prices You can change weight ratio for fish You can change their rarity You can change their icons You can change inventory color You can change what buttons to press for fishing You can change how much you need to wait for fishing You can disable the minigame at the end, which results in instant catching You can add/remove fishermen or change their locations For server owners looking to add this script, please read: s.lua has a few functions you need to change, which should be quick. isPlayerLoggedIn, setPlayerData, getPlayerData, getMoney, takeMoney, giveMoney These functions must be changed and edited to suit your own server. It's quick work and shouldn't cause issues. Lastly, you need to find line 129 and line 136 so you can change onPlayerLogin and onPlayerLogout events if needed. Line 98 also includes a line where you get exp every time you get a catch, depending on what you caught. You can enable this if you have a level system. Lastly, how the price is calculated and most other settings can be found in fishlist.lua. You can change fish attributes there. Download link can be found at the top, as well as a video illustrating how the script works. Enjoy!
  3. Estou usando um script para dar dinheiro ao jogador que matar outro player que tenha dinheiro em mãos, a parte do dinheiro está certa, porém quando um jogador morre de fome ou possui uma morte não causada por outros players, ele ainda assim perde dinheiro, tentei usar um getElementType pro killer mas não está dando certo. function setMoneyOnWasted ( killer ) local money = getPlayerMoney(source) local perde = money/10 if getElementType( killer ) ~= "player" then cancelEvent() else if (money <=0) then cancelEvent() else takePlayerMoney ( source, perde ) end end end
  4. I've successfully created a marker that triggers 'givePlayerMoney' and 'outputChatBox' when 'onClientMarkerHit' in a client.Lua. Does the server see the amount of money the player now has? Do I have to sync the money to the server with some kind of 'getPlayerMoney' in a server.Lua? I'm planning on making a weapons GUI that works with the player's money.
  5. Ola amigos da comunidade, estou começando meus estudos em scripts e ja criandos alguns bem basicos pra ir aprendendo. hoje estou com esse script que com ajuda da internet eu o criei , mas , porem , todavia so foi a mensagem de Bem-Vindo e ja o dinheiro para quando o player entrar nao esta adicionando a sua conta, peço quem dem uma olhada e me ajudem a resolver, obg pela atençao function dardinheiro (thePlayer) givePlayerMoney(thePlayer, 500) outputChatBox("Bem-vindo ao meu servidor!", source) end addEventHandler("onPlayerJoin", getRootElement(), dardinheiro)
  6. I need help from you guys, I'm doing a script to drop moneyfrom pedestrians, but I can't. --[[ Triggers whenever a ped is killed ]]-- function killedPed(totalAmmo, killer, killerWeapon, bodypart, stealth, npc) -- Get profitability multiplier local probability_of_richness = math.random(1,1000) if probability_of_richness < 900 then probability_of_richness = 1 elseif probability_of_richness < 975 then probability_of_richness = 3 elseif probability_of_richness < 999 then probability_of_richness = 10 else probability_of_richness = 100 end -- Create a money pickup at the position of the dead bot local x,y,z = getElementPosition(source) npc[killer] = math.random(1,40)*probability_of_richness -- Max profit: $4´000 -- Make the pickup and make sure it's removed after 2 minutes if not picked up local pickup = createPickup(x, y, z, 3, 1212, 120000, npc[killer]) if pickup then setTimer(destroyMinutePickup, 120*1000, 1, pickup) addEventHandler("onPickupHit", pickup, givePickupMoney) end end addEventHandler("onPedWasted", root, killedPed) --[[ Destroy the pickup after given time ]]-- function destroyMinutePickup(pickup) if isElement(pickup) then removeEventHandler("onPickupHit", pickup, givePickupMoney) destroyElement(pickup) end end --[[ Make the robber wanted on money pickup ]]-- function givePickupMoney(plr) if not npc[plr] then npc[plr] = math.random(1,50) end removeEventHandler("onPickupHit", source, givePickupMoney) destroyElement(source) givePlayerMoney(plr, npc[plr]) -- Get wanted for stealing money setWl(source, round(wanted_level, 2), 10, "Você cometeu o crime de roubo") end
  7. For example, when i have 1.000.000$ convert to: 1M$, or if i have 2.400.000$ convert to: 2.44M$. How to make this possible?
  8. I wana do a server witch u can have admin or buy in game money just for staying in server. and wana know if can someone make a Miner im new in scripting and i maded one but doesent work good Any help??
  9. The default max money is 99 999 999$. Can i this max money increase to (for example) 200 000 000$?
  10. السلام عليكم ورحمة الله تعلى وبركاته ابي كود لوضع حد للفلوس والدخيرة يعني الشخص يلزم يكون عنده بس 20 مليون كمثال والدخيرة 1000 للاسلحة مثل الديقل و سنايبر اما ام 4 و اي كي (مثال)2500 شكرا
  11. Well, I'm moderating a facebook page, and I want to advert for it, so I need money I decided to work as a developer in some communities and earn money, I simply request 5$ for now, I mean, I'll work on what you want starting from 5$, if you want a hard work, price will be upper and so on.
  12. i want create a script, which output the chatbox, when player get money, but how? For example: "+32526$"
  13. Hello community, I have been trying to create a list which is updated every second (based onClientRender event and made of dx) and Includes the names of the online players ingame, this list probably shows random sorting for players, while I want it to sort them by their current money balance. I retrieve the online players list by getElementsByType function.. Anyway, any ideas?
  14. when i have 1000 money for example, and vote the new map, when start the new map this money will be zero. how to fix this bug?
  15. function giveWeaponsOnSpawn0 ( ) giveWeapon ( source, 31, 3000 ) -- Gives the M4 weapon with 200 ammo takePlayerMoney ( source, 20 ) else outputChatBox("You do not have enough money.", source, 255, 0, 0, false) end addEvent( "giveweaponm4", true ) addEventHandler( "giveweaponm4", root, giveWeaponsOnSpawn0 ) what wrong in this?
×
×
  • Create New...