[Duda] Detectar Animacion del jugador
#2

pawn Код:
stock EstaGirando(playerid)
{
    new Animacion[32], Libreria[32];
    GetAnimationName(GetPlayerAnimationIndex(playerid), Libreria, sizeof(Libreria), Animacion, sizeof(Animacion));
    if(!strcmp(Libreria, "ped", true))
    {
        if(strcmp(Animacion,"Crounch_Roll_R") == 0|| strcmp(Animacion,"Crounch_Roll_L") == 0)
        {
            return 1;
        }
    }
    return 0;
}
Reply


Messages In This Thread
[Duda] Detectar Animacion del jugador - by [TF]Death_Ghost - 23.07.2012, 02:02
Respuesta: [Duda] Detectar Animacion del jugador - by CaptainMactavish - 23.07.2012, 05:42
Respuesta: [Duda] Detectar Animacion del jugador - by [TF]Death_Ghost - 25.07.2012, 00:28

Forum Jump:


Users browsing this thread: 1 Guest(s)