Difference between revisions of "010D"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|t}} '''ALTER_WANTED_LEVEL''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Sets the player's current [[wanted level]] | |
− | + | '''Syntax''' | |
− | + | : 010D: set_player [''player handle''] wanted_level_to [''int''] | |
− | + | '''Parameter''' | |
− | + | : [''player handle''] | |
− | + | :: The [[0053|handle of the player]] | |
+ | : [''int''] | ||
+ | :: Wanted level (0-6) | ||
+ | '''Native analog''' | ||
+ | : [[ALTER_WANTED_LEVEL]] | ||
− | ==Keywords== | + | This sets the player's current wanted level from 0 to 6. It will not exceed the maximum wanted level set by opcode [[01F0]]. Negative values have no effect while values higher than six will not exceed six. |
+ | |||
+ | == Keywords == | ||
set, change, alter, player, current, wanted, level | set, change, alter, player, current, wanted, level | ||
+ | |||
+ | [[Category:OpCodes]] |
Latest revision as of 12:15, 16 August 2015
Description
- Sets the player's current wanted level
Syntax
- 010D: set_player [player handle] wanted_level_to [int]
Parameter
- [player handle]
- [int]
- Wanted level (0-6)
Native analog
This sets the player's current wanted level from 0 to 6. It will not exceed the maximum wanted level set by opcode 01F0. Negative values have no effect while values higher than six will not exceed six.
Keywords
set, change, alter, player, current, wanted, level