Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: I want rcon status showing in console..

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

  2. #12
    Private Whiskas's Avatar
    Join Date
    Jan 2015
    Posts
    84
    Thanks
    69
    Thanked 20 Times in 17 Posts
    You can use this function:

    PHP Code:
    sendgameservercommand(id"h \"^7PM: " message "\""); 
    Where id is an entity number of player who get the message displayed.

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

    suck000 (13th April 2016)

  4. #13
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    Maybe just
    PHP Code:
    self connectionlessPacket("rcon " getcvar("rcon_password") + " status"); 
    Edit: oh well, Mitch posted it already, my bad, can hardly read stuff from this mobile phone.
    Last edited by voron00; 13th April 2016 at 14:42.
    sudo apt-get rekt

  5. #14
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    I got an error !
    PHP Code:
    uninitialised variable 'message': (file 'maps/mp/gametypes/_callbacksetup.gsc'line 421)
         
    sendgameservercommand(id"h \"^7PM: " message "\"");
                                                  * 
    Code :
    PHP Code:
    case "pm":
                        {
                        
    sendgameservercommand(id"h \"^7PM: " message "\"");
                        return;
                        } 

  6. #15
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    helpmeplz!
    10chars

  7. #16
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    message = "whatever text you trying to send maybe?";
    sudo apt-get rekt

  8. #17
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    learn2readerrormsgplz
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  9. #18
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    This is bullshit. You dont know anything about scripting or cod2. Please watch tutorials and check standard cod2 scripts. You are wasting everybodies time, including your own.

  10. The Following User Says Thank You to Ni3ls For This Useful Post:

    thOuMta (13th April 2016)

  11. #19
    Private First Class thOuMta's Avatar
    Join Date
    Oct 2012
    Location
    France
    Posts
    191
    Thanks
    139
    Thanked 35 Times in 28 Posts
    I agree with you niels he dont know anything..

  12. #20
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    Quote Originally Posted by voron00 View Post
    Maybe just
    PHP Code:
    self connectionlessPacket("rcon " getcvar("rcon_password") + " status"); 
    Edit: oh well, Mitch posted it already, my bad, can hardly read stuff from this mobile phone.
    Wouldn't recommend doing something like this, if I were to catch all connectionless packets on the clientside (Modified client) and you would do this I could in theory read the server's rcon password lol.

  13. The Following User Says Thank You to php For This Useful Post:

    voron00 (13th April 2016)

Posting Permissions

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