28.06.2012, 13:52
I made a fishing system with anim after /fish
but after he does it the player got stuck with the animation
TogglePlayerControllable(playerid, 0);
OnePlayAnim(playerid,"SWORD","sword_block",50.0,0, 1,0,1,1);
SetTimer("FishAnim", 1000, 0);
and this is the timer
public FishAnim(playerid)
{
OnePlayAnim(playerid, "CARRY", "crry_prtial", 5.0, 0, 0, 0, 0, 1);
ClearAnimations(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
but after he does it the player got stuck with the animation
TogglePlayerControllable(playerid, 0);
OnePlayAnim(playerid,"SWORD","sword_block",50.0,0, 1,0,1,1);
SetTimer("FishAnim", 1000, 0);
and this is the timer
public FishAnim(playerid)
{
OnePlayAnim(playerid, "CARRY", "crry_prtial", 5.0, 0, 0, 0, 0, 1);
ClearAnimations(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}