05.01.2015, 18:43
(
Последний раз редактировалось Mijata; 13.02.2019 в 14:46.
)
---//
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#include <a_samp>
#include <lookup>
#include <foreach>
#include <YSI\y_timers>
task ban_proxy[50]()
{
foreach(Player, i)
{
if(IsPlayerConnected(i))
{
if(IsProxyUser(i))
{
new string[72], name[24];
GetPlayerName(i, name, 24);
format(string, sizeof(string), "** %s has been baneed the server. reason: proxy", name);
SendClientMessageToAll(-1, string);
BanEx(i, "Player use proxy to connect");
}
}
}
return true;
}
#endif