IsPlayerDucked
Jump to navigation
Jump to search
Description
This function returns a boolean value (true or false) depending on whether the specified player is ducked (crouched) or not.
Syntax
bool IsPlayerDucked ( player player )
Required Arguments
- player: A player object referencing the specified player
Example
player = getPlayerFromID ( 1 ) if ( IsPlayerDucked ( player ) ) outputChatBox ( GetPlayerName ( player ) , " is currently crouching." ) end
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState