15.05.2010, 21:28
Ok i got a timer which loops
and it makes if player is on foot he performs a animation
but after i get out of the animation it doesnt continue the loop with the timer
and it makes if player is on foot he performs a animation
but after i get out of the animation it doesnt continue the loop with the timer
Код:
SetTimerEx("LazyWalk",200000,1,"d",playerid);//Start of the effect
Код:
public LazyWalk(playerid)
{
new playerState = GetPlayerState(playerid);
if(playerState == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid,"ped","WALK_fatold",4.1,1,1,1,1,1);
}
}]

