server message

Post Reply
terrorun
Posts: 1
Joined: 23 Aug 2017, 17:28

server message

Post by terrorun » 24 Aug 2017, 18:23

can someone please help me in making a login message for new players or even a periodic in game chat box message

davidcernat
Posts: 17
Joined: 19 Jul 2016, 01:02

Re: server message

Post by davidcernat » 25 Aug 2017, 04:53

Open up your myMod.lua and find these lines:

Code: Select all

        Players[pid]:Registered(data)
        Players[pid]:Message("You have successfully registered.\nUse Y by default to chat or change it from your client config.\n")
Adjust the 2nd line so it contains the information you want.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests