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

I just got this to work, here's how I did it

Код:
forward classanim(playerid);
public classanim(playerid)
{
    ApplyAnimation(playerid,"STRIP","Strip_D",4.1,0,0,0,0,1);
    return 1;
    }
Then OnPlayerRequestClass
Код:
SetTimer("classanim",1000,0);
ApplyAnimation(playerid,"STRIP","strip_D",4,1,0,0,0,0,1);
I put it in middle of all my other variables in OnPlayerRequestClass but otherwise it would be
Код:
public OnPlayerRequestClass(playerid, classid);
{
        SetTimer("classanim",1000,0);
	ApplyAnimation(playerid,"STRIP","strip_D",4,1,0,0,0,0,1);
	return 1;
}
Hope it works buddy
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)