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

Controls::setPadShake

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

p0 always seems to be 0
duration in milliseconds
frequency should range from about 10 (slow vibration) to 255 (very fast)
appears to be a hash collision, though it does do what it says

example:
SET_PAD_SHAKE(0, 100, 200);

Syntax

<syntaxhighlight lang="javascript">mp.game.controls.setPadShake(p0, duration, frequency);</syntaxhighlight>

Required Arguments

  • p0: int
  • duration: int
  • frequency: int

Return value

  • Undefined

Example

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

See also