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

Cam::setGameplayCamShakeAmplitude

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

Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake. Used in script 'drunk_controller.ysc.c4' to simulate making the player drunk.

- Shawn

Syntax

<syntaxhighlight lang="javascript">mp.game.cam.setGameplayCamShakeAmplitude(amplitude);</syntaxhighlight>

Required Arguments

  • amplitude: float

Return value

  • Undefined

Example

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

See also

Шаблон:Cam s function c