Anty Player AirBreak 1.3.1 [19.02.2011] -
Diler - 16.02.2011
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
Re: Anty Player AirBreak 1.3 [16.02.2011] -
UDV Production - 16.02.2011
it's nice. Good Work!!
Re: Anty Player AirBreak 1.3 [16.02.2011] -
bhupeshyadav - 16.02.2011
Nice work
Re: Anty Player AirBreak 1.3 [16.02.2011] -
KuHS - 16.02.2011
Very nice, simple and good. Great work.
Re: Anty Player AirBreak 1.3 [16.02.2011] -
Sasino97 - 16.02.2011
What system do you use to detect if the player isn't parachuting or falling down?
Re: Anty Player AirBreak 1.3 [16.02.2011] -
Diler - 16.02.2011
I check animation
Re: Anty Player AirBreak 1.3 [16.02.2011] -
Sasino97 - 16.02.2011
Can you tell me the animlib[] and animname[] of the open parachute please
Re: Anty Player AirBreak 1.3 [16.02.2011] -
[M.A]Angel[M.A] - 16.02.2011
Nice work , keep it up!
________________________
You searching for best server to playing?
You love the adventure?
Join xXx Stunt Paradise Awesome :
Click On
Re: Anty Player AirBreak 1.3 [16.02.2011] -
OKStyle - 18.02.2011
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
Re: Anty Player AirBreak 1.3 [16.02.2011] -
Sasino97 - 18.02.2011
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!