Gameplay::setFakeWantedLevel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
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'
==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 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:06, 6 May 2017

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'

Syntax

mp.game.gameplay.setFakeWantedLevel(fakeWantedLevel);

Required Arguments

  • fakeWantedLevel: int

Return value

  • Undefined

Example

// todo

See also

Template:Gameplay s function c