Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Zamolio bih da budemo drugovi i ne brisete Credits Jel ok braca <3 */
- /* Specijalno sam odvojio vreme za vas da vam napravim AntiBot System */
- /* Da ne bih nebi noob mogao da vam upropasti server sa botoima */
- /* Inace pohvale WikiPedie i Ja smo uspeli da napravimo ovaj sistem */
- #include <a_samp>
- new IP[MAX_PLAYERS][256];
- new IPbot[MAX_PLAYERS][256];
- #if defined FILTERSCRIPT
- #else
- public OnFilterScriptInit()
- {
- print("\n---------------------------");
- print(" [FS] Ant-Bot by Pinki");
- print("---------------------------\n");
- return 1;
- }
- #endif
- //==============================================================================
- public OnPlayerConnect(playerid)
- {
- for(new i; i<MAX_PLAYERS; i++) {
- GetPlayerIp(i,IP[playerid],256);
- GetPlayerIp(playerid,IPbot[playerid],256);
- if(i == playerid) return 0;
- if(strcmp(IP[ i],IPbot[playerid], true) == 0) {
- Ban(playerid);
- Ban(i);
- }
- }
- return 1;
- }
- //==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment