Skip to main content

Player::setCapsule

Overrides the ped's collision capsule radius for the current tick.
Must be called every tick to be effective.

Setting this to 0.001 will allow warping through some objects.

Syntax​

player.setCapsule(value);

Required Arguments​

  • value: float

Return value​

  • Undefined

Example​

// todo