[FilterScript] Anty Player AirBreak 1.3 [16.02.2011]
#1

Hi

It's small script, detecting cheater and ban him
Script does not throw a player when it falls from a building and jumps with a parachute

Attention
If you want disable your code from this script add:
Код:
SetPVarInt(playerid, "NoAB", 1);
Download
http://www.gtacenter.info/upload/files/APAB.pwn

Credits
PaweL - find a bug
TomTroX - find a bug
xqz - find a bug
Xela - reminded of the existence of a function

Updates:
* 1.3.1: You can choose penalty

Thanks for watching and sorry for my bad english
Reply
#2

it's nice. Good Work!!
Reply
#3

Nice work
Reply
#4

Very nice, simple and good. Great work.
Reply
#5

What system do you use to detect if the player isn't parachuting or falling down?
Reply
#6

I check animation
Reply
#7

Can you tell me the animlib[] and animname[] of the open parachute please
Reply
#8

Nice work , keep it up!
________________________
You searching for best server to playing?
You love the adventure?
Join xXx Stunt Paradise Awesome :
Click On
Reply
#9

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
Can you tell me the animlib[] and animname[] of the open parachute please
pawn Код:
new animlib[32],animname[32];
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,sizeof(animlib),animname,sizeof(animname));
if(!strcmp(animlib,"PARACHUTE",true) && (!strcmp(animname,"PARA_decel",true) || !strcmp(animname,"PARA_float",true) || !strcmp(animname,"PARA_steerL",true) || !strcmp(animname,"PARA_steerR",true)))
{
// do smth
}
PARA_decel - sit
PARA_float - stay
PARA_steerL - rotate left
PARA_steerR - rotate right
Reply
#10

Quote:
Originally Posted by Diler
Посмотреть сообщение
@[GF]Sasino97:
You can check with this code:
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32];
        new animname[32];
        new msg[128];
        GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
        format(msg, 128, "Running anim: %s %s", animlib, animname);
        SendClientMessage(playerid, 0xFFFFFFFF, msg);
    }
    return 1;
}
Quote:
Originally Posted by OKStyle
Посмотреть сообщение
pawn Код:
new animlib[32],animname[32];
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,sizeof(animlib),animname,sizeof(animname));
if(!strcmp(animlib,"PARACHUTE",true) && (!strcmp(animname,"PARA_decel",true) || !strcmp(animname,"PARA_float",true) || !strcmp(animname,"PARA_steerL",true) || !strcmp(animname,"PARA_steerR",true)))
{
// do smth
}
PARA_decel - sit
PARA_float - stay
PARA_steerL - rotate left
PARA_steerR - rotate right
Thankyou!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)