how can i apply a anim when player request class?
#3

Quote:
Originally Posted by razvanbrasov
Посмотреть сообщение
how can i apply a anim when player request class ?? i was try
PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
ApplyAnimation(playerid,"BEACH""ParkSit_M_loop"4.010000);
    
SetPlayerPos(playerid2.9660,28.3319,1200.0781);
    
SetPlayerCameraPos(playerid2.9660,30.3319,1200.0781);
    
SetPlayerCameraLookAt(playerid2.9660,28.3319,1200.0781);
    
SetPlayerInterior(playerid,1);
    
SetPlayerFacingAngle(playerid,2.2269);
    
ApplyAnimation(playerid,"BEACH""ParkSit_M_loop"4.010000);
    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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)