Player::setWantedLevelDifficulty: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Max value is 1.0
Max value is 1.0
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.setWantedLevelDifficulty(difficulty);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.setWantedLevelDifficulty(difficulty);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''difficulty:''' float
*'''difficulty:''' float
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:30, 6 May 2017

Max value is 1.0

Syntax

mp.game.player.setWantedLevelDifficulty(difficulty);

Required Arguments

  • difficulty: float

Return value

  • Undefined

Example

// todo

See also