Gameplay::hasCheatStringJustBeenEntered

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

Template:Gameplay s function c