$ts3_VirtualServer->selfUpdate(array('client_nickname'=>"My New Cool Nickname"));
echo $ts3_VirtualServer->clientGetByName("My Name On TS");
echo $ts3_VirtualServer->clientGetByUid("UID");
echo $ts3_VirtualServer->clientGetByDbid("DBID");
$ts3_VirtualServer->clientListReset();
foreach($ts3_VirtualServer->clientList() as $client){
if($client["client_type"]) continue;
if($client['connection_client_ip'] == $_SERVER['REMOTE_ADDR'])
{
echo "Hello " . $client['client_nickname'];
}
break;
}
ty workedOr maybe this is the thing you are looking for
PHP:$ts3_VirtualServer->clientListReset(); foreach($ts3_VirtualServer->clientList() as $client){ if($client["client_type"]) continue; if($client['connection_client_ip'] == $_SERVER['REMOTE_ADDR']) { echo "Hello " . $client['client_nickname']; } break; }