Jump to content
RAGE Multiplayer Community

Recommended Posts

Morning , sry bad speak eng.

ServerSide


using GTANetworkAPI;

namespace ServerGta5
{
    public class Main : Script
    {
        [ServerEvent(Event.ResourceStart)]
        public void OnResourceStart()
        {
           NAPI.Util.ConsoleOutput("*******************Серверная часть мода загружена******************");
        }
       [ServerEvent(Event.PlayerConnected)]
       public void OnPlayerConnected(Client player)
        {
            player.SendChatMessage("Hello, epta!");
        }
    }
}


when player connect to the server  => Server Crash

[ServerEvent(Event.PlayerConnected)]
       public void OnPlayerConnected(Client player)
        {
            player.SendChatMessage("Hello, epta!");
        }

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...