[FilterScript] Anty Player AirBreak 1.3 [16.02.2011]
#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


Messages In This Thread
Anty Player AirBreak 1.3.1 [19.02.2011] - by Diler - 16.02.2011, 08:48
Re: Anty Player AirBreak 1.3 [16.02.2011] - by UDV Production - 16.02.2011, 08:50
Re: Anty Player AirBreak 1.3 [16.02.2011] - by bhupeshyadav - 16.02.2011, 08:51
Re: Anty Player AirBreak 1.3 [16.02.2011] - by KuHS - 16.02.2011, 08:59
Re: Anty Player AirBreak 1.3 [16.02.2011] - by Sasino97 - 16.02.2011, 11:48
Re: Anty Player AirBreak 1.3 [16.02.2011] - by Diler - 16.02.2011, 11:56
Re: Anty Player AirBreak 1.3 [16.02.2011] - by Sasino97 - 16.02.2011, 14:11
Re: Anty Player AirBreak 1.3 [16.02.2011] - by [M.A]Angel[M.A] - 16.02.2011, 14:12
Re: Anty Player AirBreak 1.3 [16.02.2011] - by OKStyle - 18.02.2011, 08:55
Re: Anty Player AirBreak 1.3 [16.02.2011] - by Sasino97 - 18.02.2011, 11:37

Forum Jump:


Users browsing this thread: 3 Guest(s)