Player::setWantedLevel

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Call SET_PLAYER_WANTED_LEVEL_NOW for immediate effect

wantedLevel is an integer value representing 0 to 5 stars even though the game supports the 6th wanted level but no police will appear since no definitions are present for it in the game files

disableNoMission- Disables When Off Mission- appears to always be false

Syntax

player.setWantedLevel(wantedLevel, disableNoMission);

Required Arguments

  • wantedLevel: int
  • disableNoMission: Boolean

Return value

  • Undefined

Example

// todo

See also