Перейти к содержанию

Player::setCapsule

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">player.setCapsule(value);</syntaxhighlight>

Required Arguments

  • value: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also