Hello Everyone, I no nothing about team speak when it comes to developing plugins for it. I am looking to make a white listing system that goes off your server groups for a game called Arma 2 OA & Arma 3.
There is a plugin called TaskForceRadio and they use the following to send the name back to Arma:
Maybe someone one can point me in the right direction to learn this. I am willing to devote time on how to make it to make this white listing possible via Team speak tags. This would help the Arma community as a whole and would take stress off community staff members when it come to white listing.
Thank you in Advance
Trying to make a White listing System
There is a plugin called TaskForceRadio and they use the following to send the name back to Arma:
Code:
std::string ts_info(std::string &command)
{
if (command == "SERVER")
{
char* name;
DWORD error = ts3Functions.getServerVariableAsString(ts3Functions.getCurrentServerConnectionHandlerID(), VIRTUALSERVER_NAME, &name);
if (error != ERROR_ok) {
log("Can't get server name", error, LogLevel_ERROR);
return "ERROR_GETTING_SERVER_NAME";
}
else {
std::string result(name);
ts3Functions.freeMemory(name);
return result;
}
}
Thank you in Advance
0 commentaires:
Enregistrer un commentaire