GTAG - Modding - Opcode Database - 0560
Opcode Database
0560
| Description | Creates a driver in the vehicle. The game will try to make the created driver match the model of the car depending on the games data files and some internal checks. So for police car models, a cop model will be chosen. Internal Model Matches
MALE01 is used as a fallback model. | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) (Returned) Actor handle (Integer) (INT) | ||||||||||||||||||||||||||||||||
| Games | |||||||||||||||||||||||||||||||||
| Category | Actor, Common, Creation, Vehicle | ||||||||||||||||||||||||||||||||
| Command Name (IV) | CREATE_RANDOM_CHAR_AS_DRIVER | ||||||||||||||||||||||||||||||||
| San Andreas | |||||||||||||||||||||||||||||||||
| sascm.ini | 0560=2,create_random_char_as_driver %1d% store_to %2d% | ||||||||||||||||||||||||||||||||
| Example | 0560: create_random_char_as_driver 148@ store_to 149@ | ||||||||||||||||||||||||||||||||
| Command Name | CREATE_RANDOM_CHAR_AS_DRIVER | ||||||||||||||||||||||||||||||||
| Vice City | |||||||||||||||||||||||||||||||||
| sascm.ini | 0560=2,create_random_char_as_driver %1d% store_to %2d% | ||||||||||||||||||||||||||||||||
| Example | 0560: create_random_char_as_driver 1@ store_to 5@ | ||||||||||||||||||||||||||||||||
| Command Name | CREATE_RANDOM_CHAR_AS_DRIVER | ||||||||||||||||||||||||||||||||

