Animation start when jumping
#1

OnPlayerUpdate:
pawn Код:
if(Keys &= 32)
            {
                TogglePlayerControllable(playerid, false);
              SetTimerEx("SimpleDrunk", 2000, false, "i", playerid);
            }
SimpleDrunk:

pawn Код:
public SimpleDrunk(playerid)
{
  ClearAnimations(playerid);
  ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
}
Nothing happens when I press the shift key, it worked when I had changed the "Keys &=32" to "Keys &= 16" and I pressed enter though.
Why doesn't the animation start two seconds after I press the jump key (shift)?
Reply


Messages In This Thread
Animation start when jumping - by SWEMike - 05.03.2010, 12:16
Re: Animation start when jumping - by ¤Adas¤ - 05.03.2010, 12:19
Re: Animation start when jumping - by SWEMike - 05.03.2010, 12:35

Forum Jump:


Users browsing this thread: 1 Guest(s)