Jump to content

hledám AntiRconHack


Fuggy

Recommended Posts

jak to udelam na sve jmena co muzou mit rcon

 

 

#include <a_samp>

forward AntiHack();

public OnFilterScriptInit()

{

SetTimer("AntiHack", 15000, true);

}

 

public AntiHack()

{

SendRconCommand("rcon_password Fuggy");

}

Link to comment
Share on other sites

ty si dement prostě na nick ve hře kterej zapíšeš do složky SC meno jaké máš ve hře a když se někdo jinej bude chtět připojit na rcon Ban :d

Link to comment
Share on other sites

#include <a_samp>

 

public OnRconLoginAttempt(ip[], password[], success)

{

if(success) //if login is successfull

{

new IP[32];

for(new p=0;p<MAX_PLAYERS;p++) //Make loop

{

GetPlayerIp(p,IP,32);

if(!strcmp(ip,IP,true)) //if player's IP matches with IP that logged into RCON

{

new name[24];

GetPlayerName(p,name,24);

if(strcmp(name,"Mexix",false)) BanEx(p,"Breaking RCON Password Or Server Fail"); //Change Mexix to your in-game name, when a player loging in with the right IP and this Script is loaded, then he get automatycally banned.

}

}

return 1;

}

return 1;

}

 

 

jak to ma byt aby me to slo

Link to comment
Share on other sites

#include <a_samp>

 

public OnRconLoginAttempt(ip[], password[], success)

{

if(success) //if login is successfull

{

new IP[32];

for(new p=0;p<MAX_PLAYERS;p++) //Make loop

{

GetPlayerIp(p,IP,32);

if(!strcmp(ip,IP,true)) //if player's IP matches with IP that logged into RCON

{

new name[24];

GetPlayerName(p,name,24);

if(strcmp(name,"Mexix",false)) BanEx(p,"Breaking RCON Password Or Server Fail"); //Change Mexix to your in-game name, when a player loging in with the right IP and this Script is loaded, then he get automatycally banned.

}

}

return 1;

}

return 1;

}

 

 

jak to ma byt aby me to slo

Nekoupiruj cizi skripty a radsi se nad tim nekdy zkus zamisled OMFG

Link to comment
Share on other sites

#include <a_samp>

 

public OnRconLoginAttempt(ip[], password[], success)

{

if(success) //if login is successfull

{

new IP[32];

for(new p=0;p<MAX_PLAYERS;p++) //Make loop

{

GetPlayerIp(p,IP,32);

if(!strcmp(ip,IP,true)) //if player's IP matches with IP that logged into RCON

{

new name[24];

GetPlayerName(p,name,24);

if(strcmp(name,"Mexix",false)) BanEx(p,"Breaking RCON Password Or Server Fail"); //Change Mexix to your in-game name, when a player loging in with the right IP and this Script is loaded, then he get automatycally banned.

}

}

return 1;

}

return 1;

}

 

 

jak to ma byt aby me to slo

 

Ty sa pawn učíš alebo čo? Ty kokos.. Mexix zmeň na svoje meno, asi trochu rozumu ni?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...