Jump to content

koragg

Members
  • Posts

    730
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by koragg

  1. You can put a: if isTimer(check) then killTimer(check) end after line 13 and before line 14.
  2. Thanks to those links I made another thing I wanted http://193.200.241.6:22015/cr_webinfo/ And integrated it in my site, looks cool: http://www.classicracing.ml/index.php Will continue with toptimes later on.
  3. That's some advanced stuff @IIYAMA I don't think that many people will spam the web toptimes as my server is more of a personal one and only a few people know about it. But my biggest problem is that I have no idea how to start doing the web tops page. I guess I'd prefer using javascript as that's how the web scoreboard is made and can maybe reference things from it, dunno.
  4. Well map toptimes get saved in a SQLite database by default. Shouldn't that work? If the server is online, means the database is also on the web.
  5. Hey guys, Today I added my server's scoreboard to my website and decided to finally ask the question I'm about to. How to create something similar to this http://www.fullysik.net/index.php?page=53 ? Is there some tutorial of some kind, someone who can help me make it or actually share such a page if already made? It looks awesome and it's the last piece of the puzzle for me: IRC Chat is there, connected to the in-game one; now also added the scoreboard too & only map toptimes are left to make the integration complete (for me it will be, my server doesn't use site accounts for logins but I don't want that so it's fine). Any help is appreciated. I know how to add Tabs and so on to SMF since today so the only problem is creating the actual page and making it work.
  6. We've all been like this haha. Things would break on their own and then get fixed on their own. Mystery
  7. I finally fixed it! From here: https://wiki.multitheftauto.com/wiki/Resource_Web_Access#Calls_from_the_HTTP_web_interface I had to set all occurrences of "<right name="general.http" access="true"></right>" to true and also had to add it for all ACL groups. Now works like a charm No annoying login anymore.
  8. koragg

    IRC-IRC

    Never did it myself (not yet at least) but this looks like a nice tutorial:
  9. koragg

    IRC-IRC

    Seems like you've put the sockets module in the wrong place. Have a look at this: https://wiki.multitheftauto.com/wiki/Modules/Sockets Notice that the location is different for 32bit and 64bit systems. Also remember that if your server is on a Windows machine you should get the .dll file. If it's on Linux - you need the .so one. And add the line mentioned in the above post to your mtaserver.conf file. Good luck
  10. Just realized. Can't I make this work with events? Seems easier tbh. Will try checking if it's a map by triggering a server event and then triggering a client event from the server event which would make the client know if it's a map or not. If this doesn't work I'll try the above^
  11. It never amazes me how much if else i have to use for even the simplest resource haha. I like having everything green so ignoring warnings is not an option for me as well nice work bro
  12. Sadly the service ended a few days ago. Thanks to anyone who trusted us during those years, hope we were useful
  13. Will do but probably in December as I'm attacked by tests almost every day in university now
  14. Hey guys, Recently I tried to fix one bug in my ghost spectate resource but I need to check if a resource is indeed a map or not clientside. I know that the mapmanager has a serverside function which does this but I need a clientside way so I can use onClientResourceStop handler on resources that are maps. Otherwise the code shouldn't work if I restart a normal script for example.
  15. Try with another one just to see if the same error will appear. If it doesn't the dff has something that MTA doesn't like. If the same error appears even on another dff then I have no clue.
  16. The .dff file is corrupted. Try another mod.
  17. I tried the "gps" default resource as well as a 3rd party one, but they both draw lines only using gta sa default map roads. Idk how to make it work with custom roads, as was the OP from the topic I linked's suggestion. :\
  18. Yup, I don't mind even if it's super ugly. I prefer function over fashion Will take a look, thanks. Also the default 'gps' resource might help.
  19. Hey there, been a while since I worked on MTA but decided I'd look around for a way to make this happen since I'm in summer vacation now. Here goes: Is there a way to show the route of custom maps which are not made on the default GTA SA map but somewhere in the sea and just consist of airport roads and such? I found a topic from 6 years ago which seems to be about what I'm looking for, or at least the first post in it surely is: As you see, I want to draw lines or in some way show where the road is on these custom maps as it's pretty unfair when people who've played the map hundreds of times know every single turn by hard but the average player keeps hitting trees, falling in the water, etc as there is no radar (it only shows water since that's where the custom map is located at) for them to look at as there is on normal city maps. I don't think there's such a resource already made but if there is, a link to it would be welcomed. Otherwise some ideas and code snippets (or complete code xd) are also welcomed.
  20. Sorry for the huge bump but almost 1 year later this thing still annoys. Anyone found a way to remove the login prompt yet?
  21. removeEventHandler("onClientRender", root, draw) Replace 'draw' with your dxDraw function's name.
  22. Try my scoreboard resource: https://www.mediafire.com/file/bk1ipa4vhq1swal/scoreboard.zip
  23. Here's a script I made long ago: https://community.multitheftauto.com/index.php?p=resources&s=details&id=13712 Use its code for the minimize thing and getRealTime() and its functions to show the time and everything via outputChatBox.
×
×
  • Create New...