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​

```js player.setCapsule(value); ```

Required Arguments​

  • value: float

Return value​

  • Undefined

Example​

```js // todo ```

See also​