Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 05CA

Opcode Database

05CA

DescriptionCharacter approaches and occupies the specified car seat.

If the character isn't in the char by the specified time, the character will be warped to the seat.

Use 07A1 to configure whether the character runs or walks to the vehicle, etc.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Vehicle handle (Integer) (INT)
3) Integer (INT)
4) Time in ms (Integer) (INT)
Gamessa
CategoryActor, Common, Task, Vehicle
Command Name (IV)TASK_ENTER_CAR_AS_PASSENGER
San Andreas
sascm.ini05CA=4,task_enter_car_as_passenger %1d% car %2d% seat %4h% time %3d%
Example05CA: task_enter_car_as_passenger $ACTOR_SMOKE car 41@ seat 0 time 10000
Command NameTASK_ENTER_CAR_AS_PASSENGER

<< 05C9

05CB >>