Player::setDucking

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.setDucking(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also