01.01.2011, 17:46
As far as i know, the animation doesnt executes right away by connecting for some reason,
it starts only after you swich between some classes. Im thinking of a timer will might solve this.
EDIT: Duh, didnt worked aswell. Sorry out of ideas.
it starts only after you swich between some classes. Im thinking of a timer will might solve this.
pawn Код:
forward classanim(playerid);
public classanim(playerid)
{
ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.1,0,0,0,0,0,1);
return 1;
}
public OnPlayerRequestClass(playerid)
{
SetTimerEx("classanim", 2000, 0, "i", playerid);
return 1;
}