phpframeworksteamspeak

Teamspeak 3 Framework


I'm trying to get all clients database id, but I've been unable to using foreach etc as it always returns the value as NULL. I need to get a foreach with the database ids and put it in an array

$userchannel = $clients->cid->clientList["client_database_id"];

Solution

  • I managed to fix it.

    $ts3_VirtualServer->channelGetById(152) // 152 is the channel ID