Download the server files on the Downloads page at gtaconnected.com.
Extract the server files to an empty folder.
Change settings in server.xml.
Player Spawning and Camera Fading
The default resource, called "freeroam", includes spawning the player and fading the camera.
Check the Server Manual page.
Creating a New Resource
Add your resource to server.xml
Open file "server.xml" in a text editor, such as Notepad or Notepad++. The file is found in your server folder.
Scroll down to the "<resources>" tag, which is currently at the bottom of the xml file.
Add a "<resource>" tag inside the "<resources>" tag, and give it an attribute with the name "src" and a value of the name of your new resource.
Create folder for your resource
Open the "resources" folder, which is found in your root server directory.
Create a new folder called "my_new_resource".
Create meta.xml for your resource
Create a file called "meta.xml" inside your "my_new_resource" folder.
Add the following XML text to your meta.xml file:
Edit meta.xml for your resource
Fill in the defaults for the <info> tag, which include the author and description attributes.
A resource doesn't need to have both server and client scripts, however this example includes both.
A <script> tag is needed for each script (file) in your resource.
The src attribute for the <script> tag, is the filename of a script, which will be inside your "my_new_resource" folder.
A script can also be in a folder, or a folder in a folder, etc, inside your "my_new_resource" folder.
The type attribute for the <script> tag, can be either "server" or "client".
Server scripts run on the server, client scripts run on the client.
Different scripting functionality is provided for the server and the client.
A resource can use multiple languages, if desired.
It is also possible to transfer data between different languages, both in the same resource or in different resources, if desired.