MIKI785

Members
  • Content Count

    1,111
  • Joined

  • Last visited

Community Reputation

57 Popular

4 Followers

About MIKI785

  • Rank
    Banger
  • Birthday 21/04/1997

Details

  • Location
    Dublin, Ireland

Recent Profile Visitors

2,422 profile views
  1. MIKI785

    How to be admin in my Online server

    https://wiki.multitheftauto.com/wiki/Resource:Admin
  2. MIKI785

    ask about auto restart resource

    Isn't using these better? toggleVehicleRespawn setVehicleRespawnDelay setVehicleIdleRespawnDelay
  3. MIKI785

    getRootElement() vs getResourceRootElement()

    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.
  4. 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.
  5. I have used this before myself and it did work wihout any problems. What values are you putting in?
  6. 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.
  7. MIKI785

    Button with text and image?

    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.
  8. MIKI785

    Scripting in C++

    What you can do is to make a module, see here: https://wiki.multitheftauto.com/wiki/Modules. But that's only server side.
  9. 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.
  10. MIKI785

    Remove an Event Handler

    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.
  11. MIKI785

    Can't run map editor

    Try starting the server manually from MTA/server/MTA server.exe.
  12. MIKI785

    please help me please :'(

    engine functions are 'global'. You cannot replace a model for a single element. You may only replace the texture using shaders.
  13. MIKI785

    [HELP] Element data

    Yes? I've told you what's wrong. Also, I can't see getElementData with the same data name anywhere.
  14. MIKI785

    [HELP] Element data

    You're not setting any value.
  15. MIKI785

    error in local

    The wiki says that it may return nil if there aren't any more rows to return. Are you sure that the result set isn't empty?