Pampour

Source RCON Usage

Apr 19th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php  
  2.  
  3. include_once("rcon.class.php");  
  4.  
  5. $r = new rcon("127.0.0.1",27015,"testme");  
  6. $r->Auth();  
  7.  
  8. echo "Authenticated\n";  
  9.  
  10. //Send a request  
  11. var_dump($r->rconCommand("cvarlist"));  
  12.  
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment