Difference between revisions of "010D"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
 
Line 2: Line 2:
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
: Sets the player's current wanted level
+
: Sets the player's current [[wanted level]]
 
'''Syntax'''
 
'''Syntax'''
 
: 010D: set_player [''player handle''] wanted_level_to [''int'']
 
: 010D: set_player [''player handle''] wanted_level_to [''int'']

Latest revision as of 12:15, 16 August 2015

GTA III Vice City San Andreas ALTER_WANTED_LEVEL


Description

Sets the player's current wanted level

Syntax

010D: set_player [player handle] wanted_level_to [int]

Parameter

[player handle]
The handle of the player
[int]
Wanted level (0-6)

Native analog

ALTER_WANTED_LEVEL

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