• Content Count

  • Joined

  • Last visited

Community Reputation

57 Popular


About MIKI785

  • Rank
  • Birthday 21/04/1997


  • Location
    Dublin, Ireland

Recent Profile Visitors

2,591 profile views
  1. MIKI785

    wanted level

    Or you could use a shader to replace the wanted star icons, that would allow you to keep using the built-in functions while displaying a custom icon.
  2. https://wiki.multitheftauto.com/wiki/Resource:Admin
  3. Isn't using these better? toggleVehicleRespawn setVehicleRespawnDelay setVehicleIdleRespawnDelay
  4. See this: https://wiki.multitheftauto.com/wiki/Element_tree The root element contains every single element present on the server (or each client if used clientside). Resource root element contains every element under that resource, so if the resource creates an object using createObject, it will be contained within the resource root but also within the root element (as that contains all the resources). It's like XML.
  5. As far as I know, the (default) order in which the servers are shown in the server list is based on the server's age. Older servers are above newer ones. If the server is offline for some time (don't know how long, a few days) or the IP changes then its position gets reset. That's my understanding at least.
  6. I have used this before myself and it did work wihout any problems. What values are you putting in?
  7. dxDrawMaterialLine3D has further 4 arguments that you're not using. First one is postGUI (irrelavant) and the other 3 are X, Y and Z coordinates of where the drawn picture will be "facing". Use those to rotate it.
  8. Or you could simply use guiCreateStaticImage, draw the text on it using guiCreateLabel with the image as parent. Then simply attach onClientGUIClick and there is no difference.
  9. What you can do is to make a module, see here: https://wiki.multitheftauto.com/wiki/Modules. But that's only server side.
  10. MIKI785

    Hydra Flares

    If you want to control whether the rockets actually seek the target or not you have to implement this yourself using createProjectile.
  11. You can't remove that. It's an anonymous function, so you don't have the pointer to it (its name). You can't reference anonymous functions, therefore you can't reference it in removeEventHandler.
  12. MIKI785

    Can't run map editor

    Try starting the server manually from MTA/server/MTA server.exe.
  13. engine functions are 'global'. You cannot replace a model for a single element. You may only replace the texture using shaders.
  14. Yes? I've told you what's wrong. Also, I can't see getElementData with the same data name anywhere.
  15. You're not setting any value.