Results 1 to 10 of 25

Thread: I want rcon status showing in console..

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,018
    Thanks
    2,110
    Thanked 1,086 Times in 753 Posts
    I guess the easiest would be to hook Com_Printf with a little function, which appends all the output of it to a temporary string:

    PHP Code:
    hook_com_printf_to_save_output_to_string();
    Cmd_ExecuteString"status" );
    ret get_saved_com_printf_string_and_unhook_com_printf(); 
    But that's not implemented yet.
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    suck000 (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
  •