Gameplay::setFakeWantedLevel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
m (Small correction)
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">mp.game.gameplay.setFakeWantedLevel(fakeWantedLevel);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.setFakeWantedLevel(fakeWantedLevel);</syntaxhighlight>

Revision as of 00:47, 23 August 2020

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

Template:Gameplay s function c