Jump to content

MIKI785

Members
  • Posts

    1,131
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by MIKI785

  1. Check the arguments on the wiki... you have to specify the X, Y and Z co-ordinates.
  2. An example utilising getTickCount (better than setTimer) was already posted, so work with that.
  3. This is not a place to request full code.. and there are far too many functions to list, it also depends on what exactly you want. Just check the GUI functions on the wiki and see what kind of elements you want to utilise. It's all documented there, the rest is straight forward.. player name? getPlayerName.. player money? getPlayerMoney... wanted level? getPlayerWantedLevel... you see the pattern yet?
  4. Do you see the word Client in onClientClick? It's a client event, so it has to be on the client side.
  5. Use onClientClick and then getVehiclePlateText
  6. You didn't try, your code doesn't contain any position calculations.
  7. Take a look at guiGetScreenSize, it's described there.
  8. MIKI785

    Switching MTA

    It reads 'Load failed. Please ensure that the latest data files have been installed correctly.'. What did you reinstall? MTA or GTA? You should reinstall GTA.
  9. MIKI785

    No sound in MTA

    Are you sure that the sound isn't disabled in MTA settings? Most likely a stupid question. @Havi, he already did that. I don't know what the issue is, maybe @ccw can help you.
  10. MIKI785

    No sound in MTA

    You didn't write much.. does the sound work ok in other applications? Is MTA not muted in the sound mixer?
  11. We can't help you if you don't post your code.
  12. Are you able to check it from another PC on the same network? See if it still shows in local servers.
  13. It's simple, the debug tells you that thePlayer is nil -> it's not defined.
  14. MIKI785

    Bug

    What exactly is bugged? What does it do now?
  15. MIKI785

    Adding a map

    And what does meta.xml contain? Because all you have to do to load the map is to specify it in the meta.xml like so: <meta> <map src="map.map"/> </meta> And that's it, it's a valid resource.. then just start it using the start command or via the admin panel.
  16. You could use ACL, see ACL functions on the wiki.. or if you mean teams then check for the team using getPayerTeam.
  17. Is the first screenshot port forwarding? Are the ports unblocked by windows firewall?
  18. https://wiki.multitheftauto.com/wiki/PHP_SDK
  19. That's odd, first time I see this. Maybe it's a permission issue? Check if the permissions for registry.db and internal.db are set correctly and the account that the server is running under has full permissions for those files. You could also try running the server as an administrator. You also mentioned that you are unable to close the server and have to restart your PC, are you trying to only 'end the task' or are you actually trying to kill the process? Because there is no reason why the latter shouldn't work.
  20. Use this to find out which resource is responsible: addEventHandler("onChatMessage", root, function (msg, element) if getElementType(element) == "resource" and element ~= resource then outputChatBox(getResourceName(element)) end end)
  21. MIKI785

    I have no sound

    May be a stupid question, but is MTA's sound enabled in the Sound mixer?
  22. Do you have any sound device connected? And does your sound actually work? I don't understand why is it required but I remember that in the past MTA wouldn't start for me unless I had headphones plugged in. Same message would appear.
×
×
  • Create New...