Difference between revisions of "SET CREATE RANDOM COPS"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=1 |p1t=boolean |p1d=random cops on/off (1 or 0) }})
 
 
Line 2: Line 2:
 
|np=1
 
|np=1
 
|p1t=boolean
 
|p1t=boolean
|p1d=random cops on/off (1 or 0)
+
|p1d=set (0=off / 1=on)
 
}}
 
}}
 +
This function can prevent cops from spawning. Already spawned cops will not be removed. If the player has no wanted level, cops on foot and in cars will not spawn. If the player has a wanted level, only cops on foot will not spawn. Cops in cars and helicopters will spawn as usual.

Latest revision as of 00:43, 4 September 2009

SET_CREATE_RANDOM_COPS
Number of parameters: 1
Parameter #TypeDescription
1.booleanset (0=off / 1=on)
Return value:
TypeDescription
None

This function can prevent cops from spawning. Already spawned cops will not be removed. If the player has no wanted level, cops on foot and in cars will not spawn. If the player has a wanted level, only cops on foot will not spawn. Cops in cars and helicopters will spawn as usual.