Jump to content

Dark Dragon

Members
  • Posts

    1,619
  • Joined

  • Last visited

Everything posted by Dark Dragon

  1. I know we all agreed not to talk about it, But I would like to go on record to say that after what "mr. hankey" did I would not like to see him at our next gathering. And I know I'm not the only one who thinks so, cokacola said right off the bat that he shouldnt have brought that thing in.
  2. you probably need the dual core optimizer, you should find it in google. it's a common amd problem
  3. maybe... knowing what it is all about would make figuring that out much easier.
  4. what server are you trying to play on?
  5. download this zip file: https://community.multitheftauto.com/data.zip and unzip it in C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\data (change that path depending on where you installed grand theft auto: san andreas) overwriting the existing files. if you changed some of them on purpose you might want to save backups for later use.
  6. it's the g_GameOptions.randommaps. you simply cannot just access tables in other resources.
  7. I'm not quite sure what you mean. did you edit the race resource or set up an own resource? what are you trying to do? the table obviously doesn't exist at that time / location
  8. open the 'broken' file with a proper text editor (anything but notepad) and it should be fine.
  9. <include resource="someResourceName" /> in the maps meta.xml
  10. http://lmgtfy.com/?q=mta+sa+race+1.1.1+download
  11. so the issue is that you can't see the placed objects?
  12. also make sure you are running the latest version of mta. you can get it here: http://de1.og-servers.net/files/MTASA-1.0.4.exe
  13. check if #aliveplayers is 1, if so give money to aliveplayers[1] function playerCheck() local players = getElementsByType("player") local aliveplayers = getAliveRacePlayers() givePlayerMoney(source,100*(#players-#aliveplayers)) -- give a player 100$ per player they beat if #aliveplayers == 1 then givePlayerMoney(aliveplayers[1],100*(#players+1-#aliveplayers)) end end addEventHandler("onPlayerWasted",getRootElement(),playerCheck)
  14. bumping long ago stilled threads
  15. better do not save information like this in xml files, with huge amounts of notes it can slow the server down and it will some time hit the limit of xml nodes which can result in the complete loss of all information. i did that mistake once, better switch to something more reliable like sqlite which comes built in or mysql provided by this module right now
  16. you can simply count them yourself if you set up an easy function: function getAliveRacePlayers() local playertable = {} -- create an empty table for index,player in ipairs(getElementsByType("player")) do -- loop through all players if getElementData(player,"state") == "alive" then -- check if race considers them alive table.insert(playertable,player) -- insert the player in our table if he's alive end end return playertable -- return the table to whatever called the function end all you need to do then is this to check how many players are alive: #getAliveRacePlayers() -- # is used to get the length of stuff, in case of a table it gives you the amount of entries you can then use it like this: function playerCheck() local players = getElementsByType("player") local aliveplayers = getAliveRacePlayers() givePlayerMoney(source,100*(#players-#aliveplayers)) -- give a player 100$ per player they beat end addEventHandler("onPlayerWasted",getRootElement(),playerCheck)
  17. a: i think the idiot fails to use "an" instead of "a" before "idiot" which starts with an "i" q: win?
  18. http://en.wikipedia.org/wiki/B%C3%A9zier_curve
  19. you should simply use the server-side race event "onPlayerFinish", for destruction derbies use the "onPlayerWasted" and "onPlayerQuit" event and count the alive players by checking every players "state" element data to be "alive"
  20. https://nightly.multitheftauto.com/
  21. Dark Dragon

    /ss ??

    you can put all it in one line too. however i think play or freeroam has such a command by default.
  22. works fine in 1.1, make sure you updated the data files as well.
  23. UT¥U666 is obviously a hidden threat to youtube, u2 or unreal tournament
  24. when you're so addicted that you bump threads on the official forums in such a professional manner as if you're getting paid for it.
×
×
  • Create New...