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

Player::resetMovementClipset

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

If p1 is 0.0, I believe you are back to normal.
If p1 is 1.0, it looks like you can only rotate the ped, not walk.

Using the following code to reset back to normal
Player::RESET_Player_MOVEMENT_CLIPSET(PLAYER::PLAYER_Player_ID(), 0.0);

Syntax

<syntaxhighlight lang="javascript">player.resetMovementClipset(p1);</syntaxhighlight>

Required Arguments

  • p1: float

Return value

  • Undefined

Example

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

See also