04.11.2012, 03:59
pawn Код:
CMD:mwalk(playerid, params[]) {
if(GetPlayerState(playerid) != 1) return SendClientMessage(playerid, COLOR_GREY, "You can only use this animation while on foot.");
if(playerVariables[playerid][pFreezeTime] !=0) return SendClientMessage(playerid, COLOR_GREY, "You can't use animations while cuffed, tazed, or frozen.");
if(playerVariables[playerid][pEvent] == 1) return SendClientMessage(playerid, COLOR_GREY, "You can't use animations while in an event.");
ApplyAnimation(playerid,"PED","WALK_PLAYER",4.1,1,1,1,1,1,1);
return 1;
}