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?
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.
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.
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.
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.
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)
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.