Difference between revisions of "IS WANTED LEVEL GREATER"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
This Native '''''boolean''''' returns '''true''' if the Players Wanted Level is greater than the u32 Value you put in.
+
{{Native
 +
|np=2
 +
|p1t=integer
 +
|p1d=player [[CONVERT_INT_TO_PLAYERINDEX|index]]
 +
|p2t=integer
 +
|p2d=value to compare wanted level with
 +
|r=0
 +
}}
 +
This [[native function]] returns true if the player's wanted level is greater than the integer value you put in as the second parameter.

Revision as of 17:16, 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
None

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