Gameplay::hasCheatStringJustBeenEntered

From RAGE Multiplayer Wiki
Revision as of 21:06, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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