CityRP Documentation Repository

VehicleDoors

Lets a driver open and close their vehicle's doors, boot or tailgate with the sprint key.

VehicleDoorsEntry

3 fields Source ☍

How one model opens its doors, set by exactly one of bodygroup or poseParameters.

ServerVehicleDoorsEntry.bodygroupSource ☍

Bodygroup holding the doors; toggles 1 to 0 and anything else to 1, unless cycle is set.

ServerVehicleDoorsEntry.cycleSource ☍

Bodygroup value to switch to from each current value; values not listed are left alone.

ServerVehicleDoorsEntry.poseParametersSource ☍

Pose parameters opened and closed together, judged open by the first.