30.10.2011, 17:42
Hey SA-MP Forum,
I downloaded the iAnims IG creation Kit, works fine, i added my anims into my Script :
etc...
My question is now how can i make that the player is doing the anims permanently ? like i type /gwalk1 and the player walks forward. .. how can i make this? or /gs for the Gang Sign he does it only one time then i need to type again /gs ..
I downloaded the iAnims IG creation Kit, works fine, i added my anims into my Script :
pawn Код:
CMD:stopa(playerid, params[])
{
ClearAnimations(playerid);
return 1;
}
CMD:drunk(playerid, params[])
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,0,1);
return 1;
}
CMD:sit1(playerid, params[])
{
ApplyAnimation(playerid,"BEACH","PARKSIT_M_LOOP",4.1,1,1,1,1,0,1);
return 1;
}
COMMAND:gwalk1(playerid, params[])
{
ApplyAnimation( playerid, "PED" , "WALK_GANG" , 2.0 , 0 , 1 , 1 , 0 , 0 , 1);
return 1;
}
COMMAND:laugh(playerid, params[])
{
ApplyAnimation( playerid, "RAPPING" , "LAUGH_01" , 2.0 , 0 , 1 , 1 , 0 , 0 , 1);
return 1;
}
COMMAND:dkick(playerid, params[])
{
ApplyAnimation( playerid, "POLICE" , "DOOR_KICK" , 2.0 , 0 , 1 , 1 , 0 , 0 , 1);
return 1;
}
My question is now how can i make that the player is doing the anims permanently ? like i type /gwalk1 and the player walks forward. .. how can i make this? or /gs for the Gang Sign he does it only one time then i need to type again /gs ..