056C
Revision as of 02:46, 4 December 2011 by Spaceeinstein (talk | contribs)
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
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 | |
| 236 | Cheetah (VCPD) | 528 | |
| 596 | |||
| 597 | |||
| 598 | |||
| 599 | |||
| 601 | |||
Keywords
check, actor, driving, police, law enforcement, car, vehicle