BayX
I'm the Root. Fear me!
- Dec 18, 2015
- 75
- 27
- 96
Heey peeps,
I hope everything's good!
I ran into a little dump yesterday.
I try to get users from a specific servergroup, which isn't any problems by using:
But I want to get clients from 2 or more groups, so I tried:
I also tried:
but that only got users from ServerGroup 1, not 2.
Anybody who have a little trick to get this to work?
I hope everything's good!
I ran into a little dump yesterday.
I try to get users from a specific servergroup, which isn't any problems by using:
Code:
foreach($ts3->serverGroupClientList(groupid) as $user) {
echo $user['client_nickname'];
}
But I want to get clients from 2 or more groups, so I tried:
Code:
$uGroups = 1, 2;
foreach($ts3->serverGroupClientList($uGroups) as $user) {
echo $user['client_nickname'];
}
Code:
$uGroups = array(1, 2);
Anybody who have a little trick to get this to work?