Has anybody an example of how to mute a client locally by ID on an SDK server/client connection.
I have a list of clients and their ID but I can't seem to work out how to mute them.
We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020
Has anybody an example of how to mute a client locally by ID on an SDK server/client connection.
I have a list of clients and their ID but I can't seem to work out how to mute them.
I never done that before but have you try to use something like
to modify ClientProperty variables like FlagTalking,InputMuted,IsMuted ?Code:/* Modify data 1 */ if(ts3server_setClientVariableAsInt(scHandlerID, clientID, CLIENT_AWAY, AWAY_ZZZ) != ERROR_ok) { printf("Error setting away mode\n"); return; } /* Modify data 2 */ if(ts3server_setClientVariableAsString(scHandlerID, clientID, CLIENT_AWAY_MESSAGE, "Lunch") != ERROR_ok) { printf("Error setting away message\n"); return; } /* Flush changes */ if(ts3server_flushClientVariable(scHandlerID, clientID) != ERROR_ok) { printf("Error flushing client variable"); }
ts3client_requestMuteClients or so
Hi Bluscream,
I didn't see ts3client_requestMuteClients in server.h from the includes of sdk folders. Where is it and how do you call it ?
thanks
Thank you for the replies.
IsMuted did the trick.
There are currently 1 users browsing this thread. (0 members and 1 guests)