Sign in to follow this  
Marky

Chat messages

Recommended Posts

Hi there

I am having a bit of an issue with my chat system, I am trying to get the original message to cancel out but for some reason it is sending two messages

I have managed to fix it so it doesn't show two messages, but now the only issue I am having is it isn't calling the Spawn/Connect sections after gamemode restarting.

Also, this isn't being called upon me connecting to the server:

[ServerEvent(Event.PlayerSpawn)]
        public void OnPlayerSpawn(Client player)
        {
            NAPI.Chat.SendChatMessageToPlayer(player, "Welcome to the server, " + player.Name.Replace("_", " ") + ".");
        }

Thanks in advance

Edited by Marky

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.