Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config = getData('../inc/config.php');
- require_once "../inc/SampQueryAPI.php";
- kick_ban($_POST);
- getMsg();
- $port = $config['port'];
- $adrip = $config['adresip'];
- $query = new SampQueryAPI(''.$adrip.'', $port);
- $aInformation = $query->getInfo();
- $aServerRules = $query->getRules();
- $aPlayers = $query->getDetailedPlayers();
- and later by
- foreach($aPlayers as $sValue)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement