Skip to main content

Controls::setPadShake

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

```js mp.game.controls.setPadShake(p0, duration, frequency); ```

Required Arguments

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

Return value

  • Undefined

Example

```js // todo ```

See also