Skip to main content

Player::setDucking

MulleDK19: Does nothing. Characters cannot duck in GTA V.

^^ Wrong this is for ducking in the vehicle. - jedijosh920

MulleDK19: ^ Wrong. This is the SET_CHAR_DUCKING from GTA IV, that makes Peds duck. This function does nothing in GTA V. It cannot set the ped as ducking in vehicles, and IS_Player_DUCKING will always return false.

Syntax

```js player.setDucking(toggle); ```

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also