unnamed file

PHP

Keine Beschreibung eingegeben.

Guest

Download Edit

function run() {
while (true) {
$this->client->readCB();
$this->errorcheck();
$calls = $this->client->getCBResponses();
foreach($calls as $call) {
$name = $call[0];
$data = $call[1];
set_time_limit(20);
switch ($name) {
case \'TrackMania.PlayerConnect\': $this->client->query(\'ChatSendServerMessage\', \'New Player \'.$player[0]);
break;
case \'Trackmania.PlayerDisconnect\':
break;
case \'Trackmania.NewChallenge\':
break;
}
$this->errorcheck();
usleep(1);
}
usleep(1000);
}
}