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

Quote:
Originally Posted by Hudgens
Посмотреть сообщение
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
Hey man, I tried the code out and it wasnt successful I began to think it was the animation I was trying so I tried your one "STRIP, STRIP_D" but still no luck, The players just stand there still. Thank you very much for trying to help out though buddy
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)