30.03.2014, 20:35
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");
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;
}