26.06.2012, 17:26
pawn Код:
if ((newkeys & KEY_SECONDARY_ATTACK)) && (GetPlayerState(playerid)== PLAYER_STATE_ONFOOT))
{
new Float:Velocity[3];
GetPlayerVelocity(playerid, Velocity[0], Velocity[1], Velocity[2]);
if(Velocity[2] == 0)
{
ClearAnimations(playerid);
return 1;
}
}