Anim, i need it!
#6

Quote:
Originally Posted by -)(-
It should be "/animriot 1"
Looking for it

pawn Code:
if(!strcmp(cmd, "/animriot", true))
{
if(IsPlayerInAnyVehicle(playerid) == 1) return SendClientMessage(playerid,COLOR_RED," Animations are inaccessible in transport!");
       
tmp = strtok(cmdtext, idx);
animid = strval(tmp);
if(!strlen(tmp)||animid < 1 || animid > 7)
{
SendClientMessage(playerid,COLOR_SYSTEM," Syntax: /animriot [1-7]");
return 1;
}
switch(animid)
{
case 1: ApplyAnimation(playerid,"RIOT","RIOT_ANGRY",4.1,0,1,1,1,1);
case 2: ApplyAnimation(playerid,"RIOT","RIOT_ANGRY_B",4.1,0,1,1,1,1);
case 3: ApplyAnimation(playerid,"RIOT","RIOT_challenge",4.1,0,1,1,1,1);
case 4: ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1,0,1,1,1,1);
case 5: ApplyAnimation(playerid,"RIOT","RIOT_FUKU",4.1,0,1,1,1,1);
case 6: ApplyAnimation(playerid,"RIOT","RIOT_PUNCHES",4.1,0,1,1,1,1);
case 7: ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1,0,1,1,1,1);
}
return 1;
}
Thanks!
Reply


Messages In This Thread
Anim, i need it! - by AKA_Cross - 19.09.2009, 04:36
Re: Anim, i need it! - by mmrk - 19.09.2009, 04:41
Re: Anim, i need it! - by ded - 19.09.2009, 09:38
Re: Anim, i need it! - by AKA_Cross - 19.09.2009, 16:09
Re: Anim, i need it! - by ded - 19.09.2009, 16:21
Re: Anim, i need it! - by AKA_Cross - 19.09.2009, 16:33

Forum Jump:


Users browsing this thread: 3 Guest(s)