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

Player::resetMovementClipset

Материал из RAGE MP Wiki Archive
Версия от 23:45, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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