TS3Connector - deselected virtualserver - 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: TS3Connector - deselected virtualserver (
/showthread.php?tid=590740)
TS3Connector - deselected virtualserver -
inferno211 - 03.10.2015
Hi, i do a bot on my ts3 server and i use plugin TS3Connector. I do easy script and when it connect to TS3 server i have something that in logs of ts3:
Код:
<16:01:24> "Unknown from 91.196.50.163:38371" connected to channel "[cspacer0]Lobby"
<16:01:24> "Unknown from 91.196.50.163:38371" disconnected (deselected virtualserver)
Script:
Код:
#include <a_samp>
#include <TSConnector>
#define TS3_USER "aaa"
#define TS3_PASS "aaa"
#define TS3_HOST "91.196.50.163"
#define TS3_PORT 9987
#define TS3_QPORT 10011
public OnFilterScriptInit()
{
print("+ Łączenie z serwerem TS3");
TSC_Connect(TS3_USER, TS3_PASS, TS3_HOST, TS3_PORT, TS3_QPORT);
TSC_ChangeNickname("Inferno24.pl - BOT");
TSC_SendServerMessage("Inferno24.pl - Serwerowy bot połączył się z serwerem.");
return 1;
}
public OnFilterScriptExit()
{
TSC_Disconnect();
return 1;
}
public TSC_OnError(TSC_ERROR_TYPE:error_type, error_id, const error_msg[])
{
printf("[TS3Bot Error %d]%s", error_id, error_msg);
return 1;
}
What i must do?
Re: TS3Connector - deselected virtualserver -
inferno211 - 03.10.2015
Any help? pls!