Controls::setControlNormal

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This is for simulating player input.
amount is a float value from 0 - 1

0, 1 and 2 used in the scripts. 0 is by far the most common of them.

Syntax

mp.game.controls.setControlNormal(inputGroup, control, amount);

Required Arguments

  • inputGroup: int
  • control: int
  • amount: float

Return value

  • Boolean

Example

// todo

See also

Template:Controls s function c