Gameplay::hasCheatStringJustBeenEntered: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_s_function_c}}
{{Gameplay_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:03, 22 July 2024

Get inputted 'Cheat code', for example:

while (TRUE)
{
if (GAMEPLAY::_557E43C447E700A8(${fugitive}))
{
// Do something.
}
SYSTEM::WAIT(0);
}

Calling this will also set the last saved string hash to zero.

Syntax

mp.game.gameplay.hasCheatStringJustBeenEntered(hash);

Required Arguments

  • hash: Model hash or name

Return value

  • Boolean

Example

// todo

See also