Oh Help :D
#3

Can you explain what you are trying to accomplish, more in-depth? With the code you provided, since it is, I assume, nothing of what you are trying to do, it is hard to figure out. If you are trying to apply the "CARRY" animation when the player presses the spring key:
pawn Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
   if( newkeys & KEY_SPRINT )
   {
      ApplyAnimation( playerid, "CARRY", "carry_prtial", 4.0, 0, 0, 0, 0, 0 );
   }
   return 1;
}
Please notice that it is recommended to use the bit-wise AND (&) instead of the logical AND (&&).
Reply


Messages In This Thread
Oh Help :D - by New Ilyass - 24.01.2011, 08:55
Re: Oh Help :D - by New Ilyass - 24.01.2011, 09:09
Re: Oh Help :D - by Grim_ - 24.01.2011, 09:23
Re: Oh Help :D - by New Ilyass - 24.01.2011, 09:25
Re: Oh Help :D - by iggy1 - 24.01.2011, 09:28
Re: Oh Help :D - by Grim_ - 24.01.2011, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)