ClearAnimations Not working
#1

My ClearAnimations code:
Код:
CMD:sanim(playerid, params[])
{
	ClearAnimations(playerid);
	return true;
}
Animation code:
Код:
CMD:handsup(playerid, params[])
{
	if(GetPlayerState(playerid) == 1)
	{
	ApplyAnimation(playerid,"PED","handsup",4.1,0,1,1,0,1,1);
	}
	return true;
}
When I use /sanim it does nothing, the animation stays.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)