Controls::setPadShake

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

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

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also

Template:Controls s function c