23.11.2010, 11:33
How to detect player crouching, but NOT standing up? Is there a way?
Prints "Duckd!" when ducking, and when standing up aswell. That's not what I need exactly.
pawn Code:
if( PRESSED(KEY_CROUCH) ) // CROUCH
{
if( GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DUCK )
{
SCM(playerid, COL_CMDHELP, "Duckd!");
}
}