[0.3b] Help! OnPlayerRequestClass animation isnt working
#3

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.

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;
}
EDIT: Duh, didnt worked aswell. Sorry out of ideas.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)