Results 1 to 2 of 2
-
25-05-2010, 10:16 #1
-= TeamSpeak Lover =-
- Join Date
- Apr 2009
- Location
- italy
- Posts
- 46
Please a stupid example to change channels source code!!
Is possible 1 source code?
-
25-05-2010, 11:57 #2
If you had looked at the test_plugin code, you would have this:
PHP Code:case CMD_JOIN:
if(param1) {
uint64 channelID = (uint64)atoi(param1);
char* password = param2 ? param2 : "";
/* Get own clientID */
if(ts3Functions.getClientID(serverConnectionHandlerID, &myID) != ERROR_ok) {
ts3Functions.logMessage("Error querying client ID", LogLevel_ERROR, "Plugin", serverConnectionHandlerID);
break;
}
/* Join specified channel */
if(ts3Functions.requestClientMove(serverConnectionHandlerID, myID, channelID, password, NULL) != ERROR_ok) {
ts3Functions.logMessage("Error requesting client move", LogLevel_ERROR, "Plugin", serverConnectionHandlerID);
}
} else {
ts3Functions.printMessageToCurrentTab("Missing channel ID parameter.");
}
break;
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
TS Connection Problem
By 2pr in forum [TeamSpeak 2] Client SupportReplies: 27Last Post: 21-11-2009, 09:33 -
No reply from server.... PLEASE HELP
By Stratician in forum [TeamSpeak 2] Client SupportReplies: 2Last Post: 02-05-2007, 18:48 -
mic not picking up anything
By majom in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 17-10-2004, 22:51 -
Teamspeak startet nicht
By gunman in forum [TeamSpeak 2] Client SupportReplies: 6Last Post: 27-09-2002, 13:03


Reply With Quote
