how to disable crouch when a player crouched and tried to fire?
Add this function
function onPlayerOnFireChange(player, firestatus)
{
if (firestatus == true && player.IsCrouching == true)
{
player.SetAnim(0, 168);
}
}
Beware of untestedness
Quote from: NE.CrystalBlue on Oct 17, 2015, 08:20 AMAdd this function
function onPlayerOnFireChange(player, firestatus)
{
if (firestatus == true && player.IsCrouching == true)
{
player.SetAnim(0, 168);
}
}
Beware of untestedness
LOL!
Use this:-
function onPlayerCrouchChange( player, IsCrouchingNow ) {
if( IsCrouchingNow == true ) return 0;
else return 1;
}
@KAKANHe said how to disable crouch when a player crouched and
tried to fire?Not how to disable crouch itself.