Most of my Animations don't work?
#1

pawn Код:
PreloadAnimLib(playerid,"BOMBER");
                PreloadAnimLib(playerid,"RAPPING");
                PreloadAnimLib(playerid,"SHOP");
                PreloadAnimLib(playerid,"BEACH");
                PreloadAnimLib(playerid,"SMOKING");
                PreloadAnimLib(playerid,"ON_LOOKERS");
                PreloadAnimLib(playerid,"DEALER");
                PreloadAnimLib(playerid,"CRACK");
                PreloadAnimLib(playerid,"CARRY");
                PreloadAnimLib(playerid,"COP_AMBIENT");
                PreloadAnimLib(playerid,"PARK");
                PreloadAnimLib(playerid,"INT_HOUSE");
                PreloadAnimLib(playerid,"FOOD");
                PreloadAnimLib(playerid,"GANGS");
                PreloadAnimLib(playerid,"PED");
                PreloadAnimLib(playerid,"FAT");
This is under OnPlayerConnect.

Some of the commands...
pawn Код:
CMD:reload(playerid, params[])
{
    if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOUR_GREY, "You can only use this animation while on foot.");
    ApplyAnimation(playerid, "PYTHON", "python_reload", 4.0, 0, 0, 0, 0, 1);
    SendClientMessage(playerid, COLOUR_GREY, "Use /stopanim to stop the animation.");
    Animation[playerid] = 1;
    return 1;
}
CMD:cpr(playerid, params[])
{
    if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOUR_GREY, "You can only use this animation while on foot.");
    ApplyAnimation(playerid, "MEDIC", "CPR", 4.0, 0, 0, 0, 0, 1);
    SendClientMessage(playerid, COLOUR_GREY, "Use /stopanim to stop the animation.");
    Animation[playerid] = 1;
    return 1;
}
CMD:dive(playerid, params[])
{
    if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOUR_GREY, "You can only use this animation while on foot.");
    ApplyAnimation(playerid, "DODGE", "Crush_Jump", 4.0, 0, 1, 1, 1, 1);
    SendClientMessage(playerid, COLOUR_GREY, "Use /stopanim to stop the animation.");
    Animation[playerid] = 1;
    return 1;
}
CMD:tag(playerid, params[])
{
    if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOUR_GREY, "You can only use this animation while on foot.");
    ApplyAnimation(playerid, "GRAFFITI", "graffiti_Chkout", 4.0, 0, 0, 0, 0, 1);
    SendClientMessage(playerid, COLOUR_GREY, "Use /stopanim to stop the animation.");
    Animation[playerid] = 1;
    return 1;
}
CMD:fu(playerid, params[])
{
    if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOUR_GREY, "You can only use this animation while on foot.");
    ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 1);
    SendClientMessage(playerid, COLOUR_GREY, "Use /stopanim to stop the animation.");
    Animation[playerid] = 1;
    return 1;
}
These are some I know don't work at all.
Reply


Messages In This Thread
Most of my Animations don't work? - by Dokins - 30.03.2014, 20:35
Re: Most of my Animations don't work? - by Bingo - 30.03.2014, 20:46
Re: Most of my Animations don't work? - by Dokins - 30.03.2014, 20:53
Re: Most of my Animations don't work? - by Konstantinos - 30.03.2014, 20:53
Re: Most of my Animations don't work? - by Dokins - 30.03.2014, 20:57
Re: Most of my Animations don't work? - by Konstantinos - 30.03.2014, 20:59
Re: Most of my Animations don't work? - by Bingo - 30.03.2014, 21:11
Re: Most of my Animations don't work? - by EiresJason - 30.03.2014, 21:44
Re: Most of my Animations don't work? - by Dokins - 30.03.2014, 23:33
Re: Most of my Animations don't work? - by Pottus - 30.03.2014, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)