Gameplay::setFakeWantedLevel: Difference between revisions

From RAGE Multiplayer Wiki
m (Small correction)
 
Line 13: Line 13:
</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:07, 22 July 2024

Sets a visually fake wanted level on the user interface. Used by Rockstar's scripts to 'override' regular wanted levels and make custom ones while the real wanted level and multipliers are ignored.

Max is 5, anything above this makes it just 5. Also the mini-map gets the red & blue flashing effect. I wish I could use this to fake I had 6 stars like a few of the old GTAs'

As of 1.1+ you can set 6 stars.

Syntax

mp.game.gameplay.setFakeWantedLevel(fakeWantedLevel);

Required Arguments

  • fakeWantedLevel: int

Return value

  • Undefined

Example

// todo

See also