Quote:
Originally Posted by razvanbrasov
how can i apply a anim when player request class ?? i was try
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
SetPlayerPos(playerid, 2.9660,28.3319,1200.0781);
SetPlayerCameraPos(playerid, 2.9660,30.3319,1200.0781);
SetPlayerCameraLookAt(playerid, 2.9660,28.3319,1200.0781);
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid,2.2269);
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
but in game doesn't work
|
It should of work,How much classes do you HAVE One?
Then try switching to another class,then go back to your first class,it will work fine, it happend for me too
Delete the first " ApplyAnimation(playerid, blablabla)."
or /kill your self somehow and use F4,it will work if NOT repost.