Author Topic: Making a Command - Need help on console command  (Read 500 times)

Hello! I'm trying to see what command it is to print a message in the chat box, but only show it to the client who activated it.
EXAMPLE:
If someone says /modhelp , they will get a message only the player who activated the command can see.

That's a really stuffty name for your forum account.
On topic: I wouldn't recommend doing this as a console command, but rather making an add-on folder for this.
messageClient(%client,'sound',"message"); is the function you want, so for example:
Code: [Select]
function serverCmdModHelp(%client)
{
    messageClient(%client,'',"\c6This is the first line" NL "\c6This is the second line");
    messageClient(%client,'',"\c6This is the third line");
}