Results 1 to 2 of 2

Thread: Override message when using banclient

  1. #1
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts

    Override message when using banclient

    Hi all,

    Im using the default "banclient ID" command, but I want to edit the message when u ban someone.
    Code:
                        self setClientCvar("com_errorTitle", "BANNED");
    		    self setClientCvar("com_errorMessage", "You are Banned by: " +admin.name +"\n" + "^7Reason: "+reason +"");
    Everything is defined, because I print it first in the screen using iprintlnbold.
    After setting these clientcvars, I execute the "banclient ID" command and the player is banned. However, the messages I want to display in the Box arent show. It uses the default ones.
    How can I change/fix this?

  2. #2
    Private milepunta's Avatar
    Join Date
    Jan 2014
    Location
    Croatia, Pula
    Posts
    27
    Thanks
    14
    Thanked 26 Times in 11 Posts
    use custom dvars in error.menu then it will work
    As you once said I'm nothing but a monster!

  3. The Following User Says Thank You to milepunta For This Useful Post:

    Ni3ls (26th October 2015)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •