Gameplay::setFakeWantedLevel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.<br><br>Max is 5, anything above this makes it just 5. Also the mini-map gets the red &amp; blue flashing effect. I wish I could use this to fake I had 6 stars like a few of the old GTAs'
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.<br><br>Max is 5, anything above this makes it just 5. Also the mini-map gets the red &amp; 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==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.setFakeWantedLevel(fakeWantedLevel);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.setFakeWantedLevel(fakeWantedLevel);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''fakeWantedLevel:''' int
*'''fakeWantedLevel:''' int
Line 8: Line 10:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_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