Sign in to follow this  
Marky

Chat messages

Recommended Posts

Posted (edited)

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

Join the conversation

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

Guest
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.