Help me friends
#2

pawn Код:
if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH) && !IsPlayerInAnyVehicle(playerid))
        {
                if(HavingBall[playerid])
                {
            ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.1,1,1,1,1,1);
                }
                else
                {
            ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.0,1,0,0,0,0);
                }
                Anim[playerid] = 1;
        }
        if (!(newkeys & KEY_CROUCH) && (oldkeys & KEY_CROUCH) && !IsPlayerInAnyVehicle(playerid))
        {
                ClearAnimations(playerid);
                Anim[playerid] = 0;
        }
Change Key Crouch to what you want from the keys.
Reply


Messages In This Thread
Help me friends - by XBossX - 25.05.2013, 09:45
Re: Help me friends - by mahdi499 - 25.05.2013, 09:48
Re: Help me friends - by XBossX - 25.05.2013, 09:49

Forum Jump:


Users browsing this thread: 2 Guest(s)