Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 05CB

Opcode Database

05CB

DescriptionCharacter enters a vehicle as the driver. If the character has not already entered the vehicle after the given time limit, they will be warped to the car seat.

Using -2 as a time limit parameter disables warping, -1 is replaced with a default time limit (20000ms).
Parameters (v2)1) Actor handle (Integer) (INT)
2) Vehicle handle (Integer) (INT)
3) Time in ms (Integer) (INT)
Gamessa
CategoryActor, Common, Vehicle
Command Name (IV)TASK_ENTER_CAR_AS_DRIVER
San Andreas
sascm.ini05CB=3,task_enter_car_as_driver %1d% car %2d% time %3d% ms
Example05CB: task_enter_car_as_driver $PLAYER_ACTOR car 41@ time 10000
Command NameTASK_ENTER_CAR_AS_DRIVER

<< 05CA

05CC >>