Jump to content

Jumba'

Members
  • Posts

    254
  • Joined

  • Last visited

Everything posted by Jumba'

  1. Jumba'

    Admin system?

    https://wiki.multitheftauto.com/wiki/Admin
  2. Reading this thread. Or even, just the above reply by robhol, which specifically details the cause AND has a link to a fixed client.dll file. He said he used the dll, which still didn't fix the problem.. Maybe read his post next time? Anyway, try this. http://files.uploadffs.com/c/b/fa71ba8d/deathmatch.rar Put the files in C:\Program Files (x86)\MTA San Andreas\mods\deathmatch (or whatever drive it's installed on). I'm not sure if this is the fix, but I had that problem and those files fixed it, so eh, give it a try
  3. Reading this thread. Or even, just the above reply by robhol, which specifically details the cause AND has a link to a fixed client.dll file. He said he used the dll, which still didn't fix the problem.. Maybe read his post next time? Anyway, try this. http://files.uploadffs.com/c/b/fa71ba8d/deathmatch.rar Put the files in C:\Program Files (x86)\MTA San Andreas\mods\deathmatch (or whatever drive it's installed on). I'm not sure if this is the fix, but I had that problem and those files fixed it, so eh, give it a try
  4. Save it in an xml file and retrieve the amount of fuel from the file. http://robhol.net/guide/basics/?p=11 The guide should help you understand how to retrieve data from an XML file. Altough, I recommend saving the amount of fuel in a xml file, and when the gamemode starts, save it to each vehicle using 'setElementData', that way it'lll be easier to script a decreasing amount of fuel + retrieving the amount of fuel in the vehicle. I hope that made sense
  5. Save it in an xml file and retrieve the amount of fuel from the file. http://robhol.net/guide/basics/?p=11 The guide should help you understand how to retrieve data from an XML file. Altough, I recommend saving the amount of fuel in a xml file, and when the gamemode starts, save it to each vehicle using 'setElementData', that way it'lll be easier to script a decreasing amount of fuel + retrieving the amount of fuel in the vehicle. I hope that made sense
  6. no, it's a vps. and i have ssh. I'm trying to open the ports via ssh, but i have no idea how.
  7. I did it, but still the same problem. Maybe i need to open the ports? but then i have no idea how ..
  8. Hi, I'm trying to install a server on linux ?(debian) but when i start it up i get this error [01:01:45] Could not parse 'settings.xml' file (). Starting with an empty settin gs registry. [01:01:46] Resources: 100 loaded, 0 failed [01:01:46] Starting resources............ [01:01:46] ERROR: Could not bind the server on interface '(null)' and port '2200 4'! [01:01:46] Server stopped! [01:01:46] Stopping resources.............. [01:01:46] Closing SQLite3 database Press Q to shut down the server! Segmentation fault Any suggestions??
  9. Jumba'

    FileWrite

    |Eh, I ddont know if this may be it, be I used \n\r instead of just \n maybe that'd work?
  10. If you expect everything they tell you on this forum to work then I suggest you gtf out of here and make your own scripts, everyone is learning here, so instead of acting like an a** you could try appreciate the help you're getting. If expect to talk to other people like that on a caring forum then I suggest you gtfo of here and go to a mad mad place. Is that supposed to make sense?
  11. If you expect everything they tell you on this forum to work then I suggest you gtf out of ehre and make your own scripts, everyone is learning here, so instead of acting like an a** you could try appreciate the help you're getting.
  12. Look for this script, uhm, mabako-services has everything you need. Try searching around ..
  13. I've noticed that on that checkPing thing you trigged the function with the onPlayerJoin event, but everyone's ping is high when they join cause they need to download the servar files. Also you have two functions caleld checkPing, you could just use elseif and remove the whole second function to check if the ping is < 50.
  14. heh, it's funny to read all those posts on the dutch forum about it being fake and stuff. I wonder what they're thinking now Oh well, congratz to MTA , I joined just after 0.5 was released thanks to Gamepro magazine My best moment on MTA must've been the second I connected and saw my friend walking around, it was the greatest thing ever
  15. Jumba'

    Parachute

    I dont think they work in dp2, not sure tho.
  16. isnt it possible to disable collisions only to other vehicles and leave it enabled for players?
  17. I feel so stupid lol. I forgot that I changed my nick yesterday. It was just getting a non-existing nick =/ But thanks for the help =)
  18. Hi, I;m trying to make a script here and it works for the most part, but it doesn't insert the player username into the xml file and it returns these errors, here's the script & errors. function setLicenseData ( source, command, playername, status, license ) local player = getPlayerFromNick ( playername ) local username = getAccountName ( getClientAccount ( player ) ) local playerlicense = xmlFindSubNode ( data, "playerlicense", 0 ) local playerlicensedata = xmlFindSubNode ( playerlicense, "license", 0 ) if ( ( license == "car" ) and ( status == "grant" or "revoke" ) ) then xmlNodeSetAttribute( playerlicensedata, "player", username ) xmlNodeSetAttribute( playerlicensedata, "car", status ) xmlSaveFile ( data ) elseif ( ( license == "bike" ) and ( status == "grant" or "revoke" ) ) then xmlNodeSetAttribute( playerlicensedata, "player", username ) xmlNodeSetAttribute( playerlicensedata, "bike", status ) xmlSaveFile ( data ) elseif ( ( license == "pilot" ) and ( status == "grant" or "revoke" ) ) then xmlNodeSetAttribute( playerlicensedata, "player", username ) xmlNodeSetAttribute( playerlicensedata, "pilot", status ) xmlSaveFile ( data ) else outputChatBox ( "Syntax error, type /help license for more information on licenses.", source, 255, 255, 0, false ) end end -- WARNING: license.lua: Bad argument @ 'getClientAccount' - Line: 3 -- WARNING: license.lua: Bad argument @ 'getAccountName' - Line: 3 -- WARNING: license.lua: Bad argument @ 'xmlNodeSetAttribute' - Line: 8 Anyone know what the problem may be?
  19. Oooh, ok. Thanks for the help!
  20. Oh yeah I forgot to specify it as client side Altho, the second one, the getPlayerAccount doesn't work and it's supposed to be server side only, which it is being run as. Anyone know what could be wrong with the second one?
  21. Hi, I've been trying to make a gui window but it won't go. I'm using the dev wiki example function guiWindow ( ) local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true ) -- create a window which has "Information" in the title bar. local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) -- create a tab panel which fills the whole window local tabMap = guiCreateTab( "Map Information", tabPanel ) -- create a tab named "Map Information" on 'tabPanel' local tabHelp = guiCreateTab( "Help", tabPanel ) -- create another tab named "Help" on 'tabPanel' -- adds a label (text) to each tab guiCreateLabel(0.02, 0.04, 0.94, 0.2, "This is information about the current map", true, tabMap) guiCreateLabel(0.02, 0.04, 0.94, 0.92, "This is help text.", true, tabHelp) end addCommandHandler ("cwindow", guiWindow ) But then I do it I get this error ERROR: .../Server/mods/deathmatch/resources/license/client.lua:1: attempt to call global 'guiCreateWindow' (a nil value) It's the same with getPlayerAccount, I do it while logged in or out and I still get ERROR: ...server/mods/deathmatch/resources/license/license.lua:24: attempt to call global 'getPlayerAccount' (a nil value) when using function viewAccount(thePlayer, command) -- get the name of the account from thePlayer local accountName = getPlayerAccount(thePlayer) -- output the message to the player outputChatBox("Your account name is " .. accountName, thePlayer) end -- add the console command addCommandHandler("account", viewAccount)
×
×
  • Create New...