Results 1 to 10 of 14

Thread: console print

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by feanor View Post
    it will leak rcon password but already i was trying to find this command
    PHP Code:
     player printOutOfBand("print\nHELLO PLAYER CONSOLE!!!\n"); 


    yeah how can i log for example

    PHP Code:
    32:12 rcon clientkick from 123.123.123.123 
    I use this for showing rcon status without leaking the rcon password:

    PHP Code:
    self connectionlessPacket("rcon " getcvar("rcon_password") + " status"); 
    Note: apparently disabled and marked for rewrite in the latest commit.

    It shows up in the console log as:
    PHP Code:
    Rcon from [ip]:[port]:

    status 
    then use LogPrint for your games log:
    PHP Code:
    LogPrint("rcon status from " self getIP()); 

  2. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    feanor (15th November 2017),kung foo man (15th November 2017)

Posting Permissions

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