Difference between revisions of "010F"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|t}} '''IS_WANTED_LEVEL_GREATER''' <hr /> '''Description''' : Checks if the player's current wanted level is greater than the integer value '''Syntax''' : 010F: &nbs...")
 
m
 
Line 1: Line 1:
{{Icon|t}} '''IS_WANTED_LEVEL_GREATER'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = IS_WANTED_LEVEL_GREATER
: Checks if the player's current [[wanted level]] is greater than the integer value
+
| description = Checks if the player's current [[wanted level]] is greater than the integer value
'''Syntax'''
+
| syntax1    = 010F: &nbsp; player [''player handle''] wanted_level > [''int'']
: 010F: &nbsp; player [''player handle''] wanted_level > [''int'']
+
| p1t        = [''player handle'']
'''Parameter'''
+
| p1d        = The [[0053|handle of the player]]
: [''player handle'']
+
| p2t        = [''int'']
:: The [[0053|handle of the player]]
+
| p2d        = Integer value
: [''int'']
+
| native      = [[IS_WANTED_LEVEL_GREATER]]
:: An integer value
+
}}
'''Native analog'''
 
: [[IS_WANTED_LEVEL_GREATER]]
 
  
This opcode compares the player's current wanted level with the given integer value. It can be compared with any integer, but only values from 0 to 5 are effective. The opcode returns true only if the wanted level is greater than the integer value.
+
This conditional opcode returns true if the player's current wanted level is greater than the integer value. The wanted level can be compared with any integer value, but only values between 0 and 5 are useful.
  
 
== Keywords ==
 
== Keywords ==
check, player, current, wanted, level, greater
+
check, {{K|player}}, current, {{K|wanted}}, level, greater
 
 
[[Category:OpCodes]]
 

Latest revision as of 07:38, 7 November 2016

GTA III Vice City San Andreas IS_WANTED_LEVEL_GREATER


Description
Checks if the player's current wanted level is greater than the integer value
Syntax
010F:   player [player handle] wanted_level > [int]
Parameter
[player handle]
The handle of the player
[int]
Integer value
Native analog
IS_WANTED_LEVEL_GREATER

This conditional opcode returns true if the player's current wanted level is greater than the integer value. The wanted level can be compared with any integer value, but only values between 0 and 5 are useful.

Keywords

check, player, current, wanted, level, greater