Difference between revisions of "IS WANTED LEVEL GREATER"
Jump to navigation
Jump to search
m |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
|p2t=integer | |p2t=integer | ||
|p2d=value to compare wanted level with | |p2d=value to compare wanted level with | ||
| − | |r= | + | |r=1 |
| + | |rt=boolean | ||
| + | |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
| Number of parameters: 2 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | integer | player index |
| 2. | integer | value to compare wanted level with |
| Return value: | ||
| Type | Description | |
| boolean | 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.