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

Cam::setGameplayCamShakeAmplitude

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

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