Gameplay::hasButtonCombinationJustBeenEntered

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the 'amount' represents the amount of buttons used in a combination. The following page can be used to make a button combination: gta5offset.com/ts/hash/

INT_SCORES_SCORTED was a hash collision

Syntax

mp.game.gameplay.hasButtonCombinationJustBeenEntered(hash, amount);

Required Arguments

  • hash: Model hash or name
  • amount: int

Return value

  • Boolean

Example

// todo

See also

Template:Gameplay s function c