Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. It's used client-side so it checks it from the player that wants to see the text over his friend.
  2. Make sure the script is server-side and also fly away from the object and fly back, it should clean the LOD out. Might also want to take a look at this: https://wiki.multitheftauto.com/wiki/Se ... onsEnabled.
  3. You haven't set the files into the meta.xml.
  4. I somehow feel like the problem is with the VPS. The server doesn't have enough RAM/disk space to run all the resources.
  5. If you're creating the function client-side, then yes, you should use that. If you're making it server-side, then you should switch to "server" instead, or in case both, then "shared".
  6. https://wiki.multitheftauto.com/wiki/OnPlayerLogin Parameters: account thePreviousAccount, account theCurrentAccount, bool autoLogin _ means nothing, but it's used for simply just "skipping" the parameter. It doesn't actually skip it, but just assigns it to the _ variable. It's better than using a long variable name like "oldPlayerAccountName". playeraccount is, like explained in the event parameters, the current account of the player.
  7. getScreenFromWorldPosition dxDrawText getElementPosition getElementInterior getElementDimension getDistanceBetweenPoints3D
  8. Hey, Apparently the previous nightly build broke the server application. Right after I open up the application, it stops and makes an encrypted dump file, which, well, is encrypted. I have tried re-installing Multi Theft Auto in a new directory, but it didn't work out. I also tried restarting my computer, but it didn't work neither. When launching a server from in-game instead, I get this error: Version = 1.3.4-release-5870.0.000 Time = Thu Oct 10 19:06:41 2013 Module = D:\Program Files (x86)\MTA San Andreas 1.3\server\net.dll Code = 0xC0000005 Offset = 0x0002C9DD EAX=000000C8 EBX=00000000 ECX=1436FFFF EDX=FFFFFFFF ESI=0678EF78 EDI=00000000 EBP=1434F43C ESP=1434F420 EIP=1437C9DD FLG=00010246 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B Edit: Decided to download the earlier nightly build, which works. I have reported this crash to the Mantis (https://bugs.multitheftauto.com/view.php?id=7854).
  9. That makes no sense as there is no event for that in the script, and there is no 'thePlayer' defined neither. Second of all, there is already a check for the vehicle model, but apparently I've done it wrong accidentally. There is no need to guide me, though, since I have been scripting for around 15 years.
  10. If you wanted to rewrite it you wouldn't have to use my resource. It's a very simple script. But go ahead. If you're using major parts of the code, leave the copyrights.
  11. Uploaded a new version, which should fix both of them.
  12. myonlake

    MTA V?

    http://iv-multiplayer.com/ has been here for a long time. It's not even released for PC yet, how can you expect something like that to happen just like that.
  13. I very much suggest using this resource as a base and then making your own radar images to it (make sure you check the copyrights if any). https://community.multitheftauto.com/in ... ls&id=2730
  14. By replacing the original radar textures or by making your own radar system to work on it (the latter is not recommended due to several reasons).
  15. I was more referring to the fact that everybody on your server are set to the admin team for a reason or another.
  16. GTA III+ 3D map is measured in units. As far as I know, each unit is understood as one meter but in-game one unit looks like 0.5 meters or even less. I have made this script today just for fun as you asked for it and released it in the community. It's not precise, you can make your own algorithm to work over it and please do so. It calculates the meters each 1500 ms, and you can change that in the c_taximeter.lua if you want to. https://community.multitheftauto.com/in ... ls&id=7999
  17. That shouldn't be even possible, because if they're not in the Staff team, they wouldn't have the element data neither.
  18. I don't know how your class system works, so I can't tell what the element data index is. Apparently it's not "Chief", so you've got to fix it in the class system, or just replace "Chief" in the above code with the one that the class system uses.
  19. So you didn't do what I said in viewtopic.php?f=91&t=65845#p620457. It's not that hard, you know. dxDrawImage((sx-imageWidth)/2, (sy-imageHeight)/2, imageWidth, imageHeight, "experience/ranks/lvl_" .. string.gsub(Level, "LV ", "") .. "." .. imageExtension, 0, 0, 0, tocolor(255, 255, 255, imageAlpha), postGUI)
  20. Can you give me the dxDrawImage line. I feel like you're doing it wrong anyways.
×
×
  • Create New...