13.10.2013, 03:07
(
Last edited by MillerUTL; 13/10/2013 at 04:53 AM.
)
Quote:
Not only the falling parachute animation is used, the swimming animation is also used. Check velocity for swimming animations, and if used above set velocity, ban.
|
pawn Code:
new Float:animX, Float:animY, Float:animZ;
new anim = GetPlayerAnimationIndex(playerid);
GetPlayerPos(playerid, animX, animY, animZ);
if((anim >= 1538) && (anim <= 1542) && animZ > 5)
{
BanEx(playerid, "Fly hack");
return 1;
}

Thanks?