Jump to content

Callum

MTA Contributors
  • Posts

    865
  • Joined

  • Last visited

Everything posted by Callum

  1. Sure we may need a Balkan moderator but I don't think we should elect them as such. A system of nomination will always result in the most popular person being chosen, not necessary the most appropriate.
  2. How do you know this is an issue with MTA? Do you have a VPS/dedicated server, or just an MTA game server?
  3. A bit more context may help. Are you running Windows or Linux on your VPS, or something completely different? Which gamemode are you trying to setup on your server?
  4. It might be worth making your tutorial make use of the predefined variables in MTA, such as 'root' and 'resourceRoot'. The amount of times I've seen people use getResourceRootElement(getThisResource()), when you can just use 'resourceRoot'. The same for getRootElement() and 'root'.
  5. That code makes no sense, it looks like you've just aimlessly scraped together some code from various sources. The timer will run once after 2 seconds, and then use 'thePlayer' which hasn't even been passed via the timer. getVehicleHandling returns a table not an integer.
  6. You need to prepend "vehicles/" to all of the items in the vehicles table, since the TXD/DFF files are in the 'vehicles' folder.
  7. Callum

    Scripts

    Your script needs to be linked by meta.xml.
  8. Callum

    ml_bcrypt

    I doubt this is the appropriate board for this topic, within 24 hours it will be buried by scripting questions and nobody will ever reply.
  9. Well if you wanted to make a window appear in the centre of any resolution, let's assume the width of the window is 640, and the height is 480, and we have the variables resX and resY: x = resX / 2 - (640 / 2) y = resY / 2 - (480 / 2) width = 640 height = 480 It's all about logic and maths, not something you can really copy and paste (unless you only ever want the windows in the middle).
  10. By using guiGetScreenSize and some basic maths.
  11. I don't think that's possible, at least by exclusively using the dxDraw functions.
  12. setTimer(function() setElementData(source,"country",getPlayerName(source) == "SheTi" and "EU" or (getPlayerCountry(source) or "n/a")) end,4000,1)
  13. I'd recommend you look into setting up an account with Dropbox, or one of the many other cloud storage solutions available, so users don't have to surrender all of their personal information to download a file.
  14. From the server console, or the client console (F8) if you're logged in as an administrator, type 'start admin'. The default admin panel will then become available.
  15. Yeah I did come across that topic but considering that dates back to 2010 I was wondering whether the consensus has changed due to advances in GitHub and/or Google Code.
  16. Not sure whether this post is still relevant but it claims a limit of 140 peds.
  17. Some fantastically cheap VPS' are provided by OVH.
  18. MTA skips the local player when rendering nametags. Your only option is to create your own nametag system, or use one from the MTA community site.
  19. You could split the video into frames (using FFMPEG) and sequentially render them, which is exactly the same as watching a video. That's about the only way you can do it, for now.
  20. Would it be possible to have my account on Mantis, 'Ca11um', renamed to 'Callum'? I'm pretty sure a 'Callum' account will already exist since I've used the name 'Ca11um', but it'll most likely be my account from like 2008-2009, and I won't know the email or password for it. Edit: Same for the MTA Community site.
  21. Why would you want this, other than to exploit scripts?
  22. You could, but that doesn't mean everybody will. English servers don't exactly put [EN] in their name, like other languages do.
  23. I think it would be a nice addition if there was some form of 'Preferred Language' variable that server owners can set. Then on the server browser you can filter the server list by the preferred language (obviously with 'Any' being default). It's becoming more and more of a challenge to spot the English servers among all of the Brazilian and Arabic servers.
  24. You must have broken the resource altogether then. When you type 'refresh' in the server console does it provide any errors relating to any resources?
×
×
  • Create New...