Restricted Passenger Control
For most vehicles, passengers can typically control their own windows and doors. However, for larger vehicles like buses, prison buses, tour buses, and other similar types of buses, it would be more realistic for passengers to have no control over the windows or doors. This configuration allows you to specify which vehicles this rule should apply to. To add a vehicle, add the MODEL NAME of the vehicle from the FiveM Vehicle Reference (in capital letters)
-- See https://docs.fivem.net/docs/game-references/vehicle-models/ for names of vehicle models
-- Vehicles that pasengers should have no control of any windows, whatsoever
Config.NoPassengerWindowControl = {
"BUS", "AIRBUS", "COACH", "PBUS", "PBUS2", "TOURBUS", "RENTALBUS",
}
-- Vehicles that pasengers should have no control of any doors, whatsoever
Config.NoPassengerDoorControl = {
"BUS", "AIRBUS", "COACH", "PBUS", "PBUS2", "TOURBUS", "RENTALBUS",
}
Last updated