Difference between revisions of "ALTER WANTED LEVEL"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=integer |p1d=Player Id |p2t=integer |p2d=Wanted Level |r=0 }} Alters a players wanted level.)
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
|np=2
 
|np=2
 
|p1t=integer
 
|p1t=integer
|p1d=Player Id
+
|p1d=Player [[CONVERT_INT_TO_PLAYERINDEX|index]]
 
|p2t=integer
 
|p2t=integer
 
|p2d=Wanted Level
 
|p2d=Wanted Level
 
|r=0
 
|r=0
 
}}
 
}}
 
+
Alters the player's wanted level. Sometimes the wanted level doesn't change immediately. Include [[APPLY_WANTED_LEVEL_CHANGE_NOW]] to immediately change the wanted level.
Alters a players wanted level.
 

Latest revision as of 00:20, 15 January 2010

ALTER_WANTED_LEVEL
Number of parameters: 2
Parameter #TypeDescription
1.integerPlayer index
2.integerWanted Level
Return value:
TypeDescription
None

Alters the player's wanted level. Sometimes the wanted level doesn't change immediately. Include APPLY_WANTED_LEVEL_CHANGE_NOW to immediately change the wanted level.