Actor problem with hands
#1

When i aiming to Actor, actor hands goes up, but when i don't aiming actor hands not goes down.
When i shoot near actor or in center of actor hands goes down.

I never had this problem before..

PHP код:
new playerTargetActor GetPlayerCameraTargetActor(playerid);
    if(
playerTargetActor == Actor1)
    {
        new 
playerWeapon GetPlayerWeapon(playerid);
        new 
keysupdownleftright;
        
GetPlayerKeys(playeridkeysupdownleftright);
        if(!
ActorHandsup[playerTargetActor] && playerWeapon >= 22 && playerWeapon <= 42 && keys KEY_HANDBRAKE)
        {
            
ActorHandsup[playerTargetActor] = true;
            
ApplyActorAnimation(playerTargetActor"SHOP""SHP_HandsUp_Scr",4.1,0,0,0,1,0); 
        }
        else if(
ActorHandsup[playerTargetActor] && playerWeapon >= 22 && playerWeapon <= 42 && keys != KEY_HANDBRAKE)
        {
            
ActorHandsup[playerTargetActor] = false;
            
ApplyActorAnimation(playerTargetActor"MISC","seat_lr",2.0,1,0,0,0,0);
        }
    } 
Reply
#2

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)