Jump to content

Mossy

Members
  • Posts

    426
  • Joined

  • Last visited

Everything posted by Mossy

  1. Yup. Here's a render: http://www.wtc.com/media/images/r/32_01 ... dering.jpg
  2. I kind of understand what you're saying. I'm sure this is incorrect. I want just the 1st place to be shown to everyone and I want 2nd-6th to be shown to only the player that died in that position. function raceWin ( ) local playername = getPlayerName ( source ) givePlayerMoney ( source, 500 ) outputChatBox ( "* " .. playername .. " #ABCDEFreceived $500 for being the last survivor!", root, 255, 255, 255, true ) end addEvent ( "onPlayerWinDD", true ) addEventHandler ( "onPlayerWinDD", root, raceWin ) function raceWin ( ) local rank = exports.race:getPlayerRank(source) if rank == 2 then givePlayerMoney ( source, 250 ) outputChatBox ( "#ABCDEFYou died in 2nd place and received $250.", source, 255, 255, 255, true) elseif rank == 3 then givePlayerMoney ( source, 100 ) outputChatBox ( "#ABCDEFYou died in 3rd place and received $100.", source, 255, 255, 255, true) elseif rank == 4 then givePlayerMoney ( source, 50 ) outputChatBox ( "#ABCDEFYou died in 4th place and received $50.", source, 255, 255, 255, true) elseif rank == 5 then givePlayerMoney ( source, 25 ) outputChatBox ( "#ABCDEFYou died in 5th place and received $25.", source, 255, 255, 255, true) elseif rank == 6 then outputChatBox ( "#ABCDEFYou died in 6th place and received nothing.", source, 255, 255, 255, true) end end) addEvent ( "onPlayerWinDD", true ) addEventHandler ( "onPlayerWinDD", rank, raceWin )
  3. Don't remind me. Anyways, our WTC 1 is nearly finished: http://cdn.theatlantic.com/static/infoc ... 446416.jpg
  4. Got a bit confused. Is this correct? function raceWin ( ) local playername = getPlayerName ( source ) givePlayerMoney ( source, 500 ) outputChatBox ( "* " .. playername .. " #ABCDEFreceived $500 for being the last survivor!", root, 255, 255, 255, true ) end addEvent ( "onPlayerWinDD", true ) addEventHandler ( "onPlayerWinDD", root, raceWin ) local rank = exports.race:getPlayerRank(source) if rank == 2 then givePlayerMoney ( source, 250 ) outputChatBox ( "#ABCDEFYou died in 2nd place and received $250.", source, 255, 255, 255, true) elseif rank == 3 then givePlayerMoney ( source, 100 ) outputChatBox ( "#ABCDEFYou died in 3rd place and received $100.", source, 255, 255, 255, true) elseif rank == 4 then givePlayerMoney ( source, 50 ) outputChatBox ( "#ABCDEFYou died in 4th place and received $50.", source, 255, 255, 255, true) elseif rank == 5 then givePlayerMoney ( source, 25 ) outputChatBox ( "#ABCDEFYou died in 5th place and received $25.", source, 255, 255, 255, true) elseif rank == 6 then outputChatBox ( "#ABCDEFYou died in 6th place and received nothing.", source, 255, 255, 255, true) end end) addEvent ( "onPlayerWinDD", true ) addEventHandler ( "onPlayerWinDD", rank, raceWin )
  5. Worked. Thanks! But now I decided to add more positions but of course it doesn't work. function raceWin ( ) local playername = getPlayerName ( source ) givePlayerMoney ( source, 500 ) outputChatBox ( "* " .. playername .. " #ABCDEFreceived $500 for being the last survivor!", root, 255, 255, 255, true ) end addEvent ( "onPlayerWinDD", true ) addEventHandler ( "onPlayerWinDD", root, raceWin ) addEventHandler("onPlayerRaceWasted",root,function() local rank = exports.race:getPlayerRank(source) if rank == 2 then givePlayerMoney ( source, 250 ) outputChatBox ( "#ABCDEFYou died in 2nd place and received $250.", source, 255, 255, 255, true) elseif rank == 3 then givePlayerMoney ( source, 100 ) outputChatBox ( "#ABCDEFYou died in 3rd place and received $100.", source, 255, 255, 255, true) elseif rank == 4 then givePlayerMoney ( source, 50 ) outputChatBox ( "#ABCDEFYou died in 4th place and received $50.", source, 255, 255, 255, true) elseif rank == 5 then givePlayerMoney ( source, 25 ) outputChatBox ( "#ABCDEFYou died in 5th place and received $25.", source, 255, 255, 255, true) elseif rank == 6 then outputChatBox ( "#ABCDEFYou died in 6th place and received nothing.", source, 255, 255, 255, true) end end)
  6. You should fix your post lol. And maybe any screenshots and more info?
  7. I replaced the destructionderby.lua yes but which script do I use? 3NAD's?
  8. Guess what? That doesn't work either. All I want is for whenever someone is the last survivor in DD to receive $1000.
  9. I mean, all I did was remove the map buttons (except for DM) and put in the resource correctly and gave it admin rights etc. What should I do then?
  10. I'm a bit disappointed with this. First of all, the money doesn't always work when a map finishes. Like, on 1 map it gives me $50 but on the 2nd it doesn't give me anything (and I won on both maps). Also, the money doesn't always show in the panel. Like, if I earned $50 it won't show in the panel. It also fails to call the top times: ERROR: call: failed to call 'race_toptimes:updateTextForPanel' [string "?"].
  11. Mossy

    how much

    If you want to host your own server, it's free. You just need a decent PC to run the server so there's no lag. You can also buy server hosting. Each host is different with the pay. My host is $5.10/m for 34 slots.
  12. Mossy

    how much

    That depends on what company you choose to host with. Check out this and this.
  13. Mossy

    Dotex Moddings

    Really nice cars! I love the Elegy.
  14. This isn't because you wrote deathmatch. This appears when you write anything. No one knows what it is but it's probably a Youtube experiment.
  15. Debug doesn't say anything about the script.
  16. I found that mistake and made it serverside, but it's still not working. Here's the code again: addEvent ( "onPlayerFinish", true ) function raceWin(rank) if rank ~= 1 then return end local playername = getPlayerName(source) givePlayerMoney(source,1000)---money what player get if he finish.(Default=1000) outputChatBox("* "..playername.." took $1000 for being the last survivor!",root,51,153,255) end addEventHandler("onPlayerFinish", root, raceWin )
  17. function raceWin(rank) if rank ~= 1 then return end local playername = getPlayerName(source) givePlayerMoney(source,1000)---money what player get if he finish.(Default=1000) outputChatBox("* "..playername.." took $1000 for being the last survivor!",root,51,153,255) end addEventHandler("onPlayerFinish", root, raceWin ) Made this for DD. Doesn't seem to be working. No errors in debug. Any ideas?
  18. Mossy

    Road Textures [DD]

    Ok , thats no problem but Thank you for your help No problem. If you find/make textures and you need help configuring them then give me a heads up.
  19. Mossy

    Road Textures [DD]

    So you can't help me ? I search for textures since 5 weeks... and make own textures ermmm yeah. i cant I'm not fond with map textures so I can't help you out. If I had map textures I would consider giving them to you but I recently opened my DD server so I got nothing
  20. I love their masks. That one with the guy doing the drive-by, is Grove Street back? Can't wait for this game to come out.
  21. Mossy

    Road Textures [DD]

    Ahh I'm an idiot lol. I just realized that's only for mapping. I tried looking for some but I couldn't find any. Besides, most servers make their own textures. But I'm definite that there's some out on the internet.
  22. Mossy

    Road Textures [DD]

    Download this https://community.multitheftauto.com/index.php?p= ... ls&id=6101 Put it with your MTA resources then start it. I checked and there's a script in it that automatically replaces the default textures.
×
×
  • Create New...