Command Problem
#5

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;
}
Ignore what I posted above, this compiled fine on my script
Reply


Messages In This Thread
Command Problem - by Jay_Dixon - 04.11.2012, 03:47
Re: Command Problem - by Swyft™ - 04.11.2012, 03:55
Re: Command Problem - by s0nic - 04.11.2012, 03:56
Re: Command Problem - by KevinPRINCE - 04.11.2012, 03:57
Re: Command Problem - by Swyft™ - 04.11.2012, 03:59
Re: Command Problem - by Jay_Dixon - 04.11.2012, 18:01
Re: Command Problem - by Swyft™ - 04.11.2012, 18:11

Forum Jump:


Users browsing this thread: 2 Guest(s)