require teamspeak connection? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: require teamspeak connection? (
/showthread.php?tid=598253)
require teamspeak connection? -
Robert20 - 10.01.2016
So i'm thinking about starting a serious rp server, but one thing that i really want to require is a teamspeak connection to join the server, i find the roleplay experiance is way better if you require a voice system. So to my question, is it possible to make a system that checks to see if the player is connected to the ts on server join to allow onto the server.
Re: require teamspeak connection? -
Bennyy - 10.01.2016
i guess you could create some sort of API to scan the teamspeak sql for users currently activte use the HWID or IP to match that to the sql on the server but i doubt you could scan the sql fast enough to kick a player on failed connection depending on how many users you have.
Re: require teamspeak connection? -
PrO.GameR - 10.01.2016
https://sampforum.blast.hk/showthread.php?tid=437671
Here, you can use this plugin
forward TSC_OnClientConnect(clientid,
nickname[]);
forward TSC_OnClientDisconnect(clientid, reasonid, reasonmsg[]);
There are these callbacks, and there is also a way to poke a special code to player so he would need that to login to server.