Difference between revisions of "010D"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>010D=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the player's current wanted level<br>
+
| ini        = 010D=2,%1d% %2d%
'''Parameter 1''': Player handle<br>
+
| description = Sets the player's current wanted level
'''Parameter 2''': Integer<br>
+
| p1          = Player handle
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p2          = Integer (wanted level)
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
This can set the player's current wanted level from 0 to 6.
+
| native      = [[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 [[01F0]]. Negative values have no effect while values higher than six will not exceed six.
  
 
==Keywords==
 
==Keywords==
set, player, current, wanted, level
+
set, change, alter, player, current, wanted, level
 
 
[[Category:OpCodes]]
 

Revision as of 17:28, 15 January 2010

{{{games}}}


Description
Sets the player's current wanted level
Syntax
{{{syntax1}}}
Parameter
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 01F0. Negative values have no effect while values higher than six will not exceed six.

Keywords

set, change, alter, player, current, wanted, level