Vehicle::setDoorsLocked

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

0 - CARLOCK_NONE
1 - CARLOCK_UNLOCKED
2 - CARLOCK_LOCKED (locked)
3 - CARLOCK_LOCKOUT_PLAYER_ONLY
4 - CARLOCK_LOCKED_PLAYER_INSIDE (can get in, can't leave)

(maybe, these are leftovers from GTA:VC)
5 - CARLOCK_LOCKED_INITIALLY
6 - CARLOCK_FORCE_SHUT_DOORS
7 - CARLOCK_LOCKED_BUT_CAN_BE_DAMAGED

(source: GTA VC miss2 leak, matching constants for 0/2/4, testing)

Syntax

vehicle.setDoorsLocked(doorLockStatus);

Required Arguments

  • doorLockStatus: int

Return value

  • Undefined

Example

// todo

See also