Gameplay::hasButtonCombinationJustBeenEntered: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
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/<br><br>INT_SCORES_SCORTED was a hash collision | 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/<br><br>INT_SCORES_SCORTED was a hash collision | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">gameplay.hasButtonCombinationJustBeenEntered(hash, amount);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.gameplay.hasButtonCombinationJustBeenEntered(hash, amount);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''hash:''' Model hash or name | *'''hash:''' Model hash or name | ||
| Line 9: | Line 9: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Gameplay_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:06, 6 May 2017
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