THE ISSUE HAS BEEN RESOLVED
I rented a server to start learning, but I'm not sure what I'm doing. I'll try to explain and maybe somebody can point out the obvious.
The server is hosted by APEX. Mtaserver.conf (the lower part of the document that is setting resources) looks like this:
The server works fine and I can play Freeroam. Apex servers set all this up.
O.K now I want to disable the gamemode freeroam (it sucks!) and follow the Scripting Introduction tutorial on the Wiki: https://wiki.multitheftauto.com/wiki/Sc ... troduction
So I went into the configuration file and removed:
And replaced it with:
I also created a folder, an .xml file and put my .lua script file through the online compiler (https://luac.multitheftauto.com/).
I tried changing the .xml file
The image shows that I did those things and the content of the .lua file before I put it into luac.multitheftauto.com. I'm just following the scripting introduction tutorial.
http://i.imgur.com/50fcaMG.jpg
The problem is that it shows a black screen when I connect to the server.
http://i.imgur.com/yJojfxp.jpg
I don't know what I should do now to make it work.
I have also tried to run the gamemode without putting it through the online compiler. It gives the same result.
I also tried adding another gamemode from the resources section of this website. It was a pirate wars mod. But that also gave me a black screen. So basically, I don't know much and I hope some will explain and help me out or else I'm stuck at this basic step, which is also embarrassing
Thanks.