anti-Air Break to adapt in my gamemode?
#1

Some anti-Air Break to adapt in my gamemode? researched, most find only filterscripts, and some are not functional.
Reply
#2

Try this one :

PHP код:
new Float:animXFloat:animYFloat:animZ;
new 
anim GetPlayerAnimationIndex(playerid);
GetPlayerPos(playeridanimXanimYanimZ);
if((
anim >= 1538) && (anim <= 1542) && animZ 5)
{
    
BanEx(playerid"Fly hack");
    return 
1;

EDIT: Under OnPlayerUpdate. ^^
Reply
#3

Or you can use strongly built includes found in the includes section of the forum.
Reply
#4

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
Try this one :

PHP код:
new Float:animXFloat:animYFloat:animZ;
new 
anim GetPlayerAnimationIndex(playerid);
GetPlayerPos(playeridanimXanimYanimZ);
if((
anim >= 1538) && (anim <= 1542) && animZ 5)
{
    
BanEx(playerid"Fly hack");
    return 
1;

EDIT: Under OnPlayerUpdate. ^^
This code makes no sense. You're not even checking the speed of the player.
Reply
#5

Did you check ? : https://sampwiki.blast.hk/wiki/GetPlayerAnimationIndex

KillerDVX,
Reply
#6

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
That code still makes no sense whatsoever.
Reply
#7

Quote:
Originally Posted by Shetch
Посмотреть сообщение
This code makes no sense. You're not even checking the speed of the player.
Quote:
Originally Posted by rymax99
Посмотреть сообщение
That code still makes no sense whatsoever.
Don't be rude, particularly when you have no idea what you're talking about. That code will detect a certain cheat tool which has a "fly" mode - it makes you "swim" through the air. The code given checks if the player is using a swimming animation and is above the ground (z > 5), which will detect that particular cheat. It's not anti-airbreak, but it is 100% accurate detection against a common fly cheat.
Reply
#8

Quote:
Originally Posted by ev0lution
Посмотреть сообщение
Don't be rude, particularly when you have no idea what you're talking about. That code will detect a certain cheat tool which has a "fly" mode - it makes you "swim" through the air. The code given checks if the player is using a swimming animation and is above the ground (z > 5), which will detect that particular cheat. It's not anti-airbreak, but it is 100% accurate detection against a common fly cheat.
The title reads "anti airbreak" - the code he provided isn't going to do anything for airbreak.
Reply
#9

Quote:
Originally Posted by ev0lution
Посмотреть сообщение
Don't be rude, particularly when you have no idea what you're talking about. That code will detect a certain cheat tool which has a "fly" mode - it makes you "swim" through the air. The code given checks if the player is using a swimming animation and is above the ground (z > 5), which will detect that particular cheat. It's not anti-airbreak, but it is 100% accurate detection against a common fly cheat.
Hmm.. Thanks buddy ^^.

So Josh, here you go a Filterscript of the Anti Air-Break :

http://www.solidfiles.com/d/JjaV/

Hope it helps.

KillerDVX,
Reply
#10

https://sampforum.blast.hk/showthread.php?tid=474196
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)