Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (failure($ts->connect())){ die ("Failed to connect TeamSpeak3 ServerQuery - please check your configuration.". PHP_EOL);}
- if (failure($ts->login($reg->config['teamspeak']["loginname"], $reg->config['teamspeak']['password']))){ die("Failed to login into ServerQuery, maybe wrong password?". PHP_EOL);}
- if (failure($ts->selectServer($reg->config['teamspeak']["serverid"], 'serverId'))){ die("Failed to select TeamSpeak3 server instance". PHP_EOL);}
- if (failure($ts->setName($reg->config['teamspeak']['nickname']))){die("Failed to set nickname in ServerQuery".PHP_EOL);}
- centerAlignText($im, 15, 0, 770, 18, $color['default'], $font, $clientsOnline.'/'.$serverInfo['virtualserver_maxclients']);
Advertisement
Add Comment
Please, Sign In to add comment