Difference between revisions of "056C"

From GTAMods Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
: Checks if the character is in a police vehicle
 
: Checks if the character is in a police vehicle
 
'''Syntax'''
 
'''Syntax'''
: 056C:   actor [''char handle''] driving_police_vehicle
+
: 056C:   actor [''char handle''] driving_police_vehicle
 
'''Parameter'''
 
'''Parameter'''
 
: [''char handle'']
 
: [''char handle'']
Line 26: Line 26:
 
| 163 || Barracks OL || 497 || Police Maverick
 
| 163 || Barracks OL || 497 || Police Maverick
 
|-
 
|-
| 220 || FBI Rancher || 523 ||
+
| 220 || FBI Rancher || 523 || HPV1000
 
|-
 
|-
| 236 || Cheetah (VCPD) || 528 ||
+
| 236 || Cheetah (VCPD) || 528 || FBI Truck
 
|-
 
|-
| || || 596 ||
+
| || || 596 || Police (Los Santos)
 
|-
 
|-
| || || 597 ||
+
| || || 597 || Police (San Fierro)
 
|-
 
|-
| || || 598 ||
+
| || || 598 || Police (Las Venturas)
 
|-
 
|-
| || || 599 ||
+
| || || 599 || Ranger
 
|-
 
|-
| || || 601 ||
+
| || || 601 || S.W.A.T.
 
|}
 
|}
  

Revision as of 00:19, 11 December 2011

Vice City San Andreas


Description

Checks if the character is in a police vehicle

Syntax

056C:   actor [char handle] driving_police_vehicle

Parameter

[char handle]
The handle of the character

Native analog

IS_CHAR_IN_ANY_POLICE_VEHICLE

This conditional opcode returns true if the character is in a police vehicle. The opcode recognizes the following vehicles:

Vice City San Andreas
ID Name ID Name
156 Police 427 Enforcer
157 Enforcer 430 Predator
160 Predator 432 Rhino
162 Rhino 433 Barracks
163 Barracks OL 497 Police Maverick
220 FBI Rancher 523 HPV1000
236 Cheetah (VCPD) 528 FBI Truck
596 Police (Los Santos)
597 Police (San Fierro)
598 Police (Las Venturas)
599 Ranger
601 S.W.A.T.

Keywords

check, actor, driving, police, law enforcement, car, vehicle