TeamSpeak Connector
#1

Hi.Does someone know how to use teamspeak connector by maddinator.If someone know how to get someone's nickname when he join a channel pls tell me or how to get someone's id by his name.Thanks!
Reply
#2

There is it: https://sampforum.blast.hk/showthread.php?tid=437671
Trust me, you can pull some black magic using the search button.
Reply
#3

Quote:
Originally Posted by Eoussama
View Post
There is it: https://sampforum.blast.hk/showthread.php?tid=437671
Trust me, you can pull some black magic using the search button.
There is no answer on my question,trust me...
Reply
#4

I never used this plugin myself, but looking at the functions list, I feel that this function ould be what you're looking for:
PHP Code:
native TSC_GetClientUid(clientiddest[], maxlen sizeof(dest)); 
here is a list of the complete available functions.
PHP Code:

//server functions

native TSC_Connect(user[], pass[], hostname[], port 9987serverquery_port 10011);

native TSC_Disconnect();

native TSC_ChangeNickname(nickname[]);

native TSC_SendServerMessage(msg[]);





//data query functions

native TSC_QueryChannelData(channelidTSC_CHANNEL_QUERYDATA:data, const callback[], const format[] = "", {Float_}:...);

native TSC_QueryClientData(clientidTSC_CLIENT_QUERYDATA:data, const callback[], const format[] = "", {Float_}:...);

native TSC_GetQueriedData(dest[], max_len sizeof(dest));

native TSC_GetQueriedDataAsInt();





//channel functions

native TSC_CreateChannel(channelname[], TSC_CHANNELTYPE:type TEMPORARYmaxusers = -1parentchannelid = -1upperchannelid = -1talkpower 0);

native TSC_DeleteChannel(channelid);

native TSC_GetChannelIdByName(channelname[]);

native TSC_IsValidChannel(channelid);

native TSC_SetChannelName(channelidchannelname[]);

native TSC_GetChannelName(channeliddest[], maxlen sizeof(dest));

native TSC_SetChannelDescription(channeliddesc[]);

native TSC_SetChannelType(channelidTSC_CHANNELTYPE:type);

native TSC_CHANNELTYPE:TSC_GetChannelType(channelid);

native TSC_SetChannelPassword(channelidpassword[]);

native TSC_HasChannelPassword(channelid);

native TSC_SetChannelRequiredTP(channelidtalkpower);

native TSC_GetChannelRequiredTP(channelid);

native TSC_SetChannelUserLimit(channelidmaxusers);

native TSC_GetChannelUserLimit(channelid);

native TSC_SetChannelParentId(channelidparentchannelid);

native TSC_GetChannelParentId(channelid);

native TSC_SetChannelOrderId(channelidupperchannelid);

native TSC_GetChannelOrderId(channelid);

native TSC_GetDefaultChannelId();





//client functions

native TSC_GetClientIdByUid(uid[]);

native TSC_GetClientIdByIpAddress(ip[]);



native TSC_GetClientUid(clientiddest[], maxlen sizeof(dest));

native TSC_GetClientDatabaseId(clientid);

native TSC_GetClientChannelId(clientid);

native TSC_GetClientIpAddress(clientiddest[], maxlen sizeof(dest));



native TSC_KickClient(clientidTSC_KICKTYPE:kicktypereasonmsg[] = "");

native TSC_BanClient(clientuid[], secondsreasonmsg[]);

native TSC_MoveClient(clientidchannelid);



native TSC_SetClientChannelGroup(clientidgroupidchannelid);

native TSC_AddClientToServerGroup(clientidgroupid);

native TSC_RemoveClientFromServerGroup(clientidgroupid);

native TSC_SetClientTalkerStatus(clientidbool:status);

native TSC_SetClientDescription(clientid, const description[]);



native TSC_PokeClient(clientidmsg[]);

native TSC_SendClientMessage(clientidmsg[]); 
Reply
#5

I wanna get client's nickname by his id or his id by nickname.
If there was a command like TSC_GetClientNameById(clientid) or TSC_GetClientIdByName(nickname[]) it would be much easier to use this plugin.I want to do in samp script something like when you enter to any room on ts i wanna get a message like "Suttix joined the channel" or whatever is client's name..
Sorry for my bad english
Reply
#6

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)