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

Gameplay::hasButtonCombinationJustBeenEntered

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

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

<syntaxhighlight lang="javascript">mp.game.gameplay.hasButtonCombinationJustBeenEntered(hash, amount);</syntaxhighlight>

Required Arguments

  • hash: Model hash or name
  • amount: int

Return value

  • Boolean

Example

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

See also