Difference between revisions of "010D"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|t}} '''ALTER_WANTED_LEVEL'''
| ini        = 010D=2,%1d% %2d%
+
<hr />
| description = Sets the player's current wanted level
+
'''Description'''
| p1          = Player handle
+
: Sets the player's current wanted level
| p2          = Integer (wanted level)
+
'''Syntax'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: 010D: set_player [''player handle''] wanted_level_to [''int'']
| native      = [[ALTER_WANTED_LEVEL]]
+
'''Parameter'''
}}
+
: [''player handle'']
This sets the player's current wanted level from 0 to 6. It will not exceed the maximum wanted level set by [[01F0]]. Negative values have no effect while values higher than six will not exceed six.
+
:: 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]]

Revision as of 06:54, 22 July 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