Difference between revisions of "IS WANTED LEVEL GREATER"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 7: Line 7:
 
|r=1
 
|r=1
 
|rt=boolean
 
|rt=boolean
|rd=true is wanted level is greater than the 2nd parameter
+
|rd=true if wanted level is greater than the 2nd parameter
 
}}
 
}}
 
This [[native function]] returns true if the player's wanted level is greater than the integer value you put in as the second parameter.
 
This [[native function]] returns true if the player's wanted level is greater than the integer value you put in as the second parameter.

Latest revision as of 17:19, 28 January 2009

IS_WANTED_LEVEL_GREATER
Number of parameters: 2
Parameter #TypeDescription
1.integerplayer index
2.integervalue to compare wanted level with
Return value:
TypeDescription
booleantrue if wanted level is greater than the 2nd parameter

This native function returns true if the player's wanted level is greater than the integer value you put in as the second parameter.