SDK Plugin Dev: getClientVariableAsInt(): 1540; ERROR_parameter_convert

dimanche 15 novembre 2015

Hello,

I want to get the unique client id with this code:

Code:

int clid;

int errorcode = 0;

ts3Functions.requestClientVariables(serverConnectionHandlerID, clientID, NULL);

errorcode = ts3Functions.getClientVariableAsInt(serverConnectionHandlerID, clientID, CLIENT_UNIQUE_IDENTIFIER, &clid);

but it is not working.

i get the error 1540: ERROR_parameter_convert.

So what am i doing wrong?

btw: getClientVariableAsString() for getting the nickname works fine.

Thanks
binarycode
SDK Plugin Dev: getClientVariableAsInt(): 1540; ERROR_parameter_convert

0 commentaires:

Enregistrer un commentaire