Sign in to follow this  


Recommended Posts


I would like to work on the development of GTA-V servers on the C# Bridge.
So I have created my first resource, but I get an error in the server log when I want to start it.


-> Starting firstresource resource..
firstresource: loading scripts.. found 1 script(s)
-> Error starting 'firstresource'
System.NullReferenceException: Object reference not set to an instance of an object.
   at bool GTANetworkInternals.GameServer.StartResource(string resourceName, string parent)


My Code

using System;
using GTANetworkAPI;
namespace firstresource
    public class Main : Script
        public Main()
            Console.WriteLine("Dieser Test war erfolgreich");


Anyone can help me?

Share this post

Link to post
Share on other sites
Posted (edited)

Please show us your meta.xml and settings.xml. I'd be more than surprised if changing the code into the previous reply solves your issue.

Edited by introzen

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.