Player::setCanCowerInCover

From RAGE Multiplayer Wiki

It simply makes the said ped to cower behind cover object(wall, desk, car)

Peds flee attributes must be set to not to flee, first. Else, most of the peds, will just flee from gunshot sounds or any other panic situations.

-YCSM

Syntax

player.setCanCowerInCover(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also