swiming
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
Set a timer that checks if the player is in the water/swimming and kick him, use the stock below.
pawn Код:
//This stock isn't mine, credits to who ever made it.
stock IsPlayerInWater( playerid )
{
    new anim = GetPlayerAnimationIndex( playerid );
    if (((anim >=  1538) && (anim <= 1542)) || (anim == 1544) || (anim == 1250) || (anim == 1062)) return 1;
    return 0;
}
That could be a good function for anti-airbreaking hacks.. If I am not mistaken?
Reply


Messages In This Thread
swiming - by aboa - 05.07.2013, 16:17
Re: swiming - by DaRk_RaiN - 05.07.2013, 16:41
Re: swiming - by Akira297 - 05.07.2013, 16:42
Re: swiming - by MP2 - 05.07.2013, 16:48
Re: swiming - by DaRk_RaiN - 05.07.2013, 16:50

Forum Jump:


Users browsing this thread: 2 Guest(s)