esx-community / esx_vehiclelock

Vehicle lock system for ESX
38 stars 30 forks source link

SetVehicleDoorsLocked Should be 2 not 4 #19

Closed Vampurica closed 4 years ago

Vampurica commented 5 years ago

Per the Native Reference if SetVehicleDoorsLocked is set to 4, someone can still enter the vehicle and not exit. It should be setting the doors to 2 instead, which entirely locks the vehicle.

MarchTala commented 5 years ago

Per the Native Reference if SetVehicleDoorsLocked is set to 4, someone can still enter the vehicle and not exit. It should be setting the doors to 2 instead, which entirely locks the vehicle.

I agree on this, I tried and it won't break the window of the car. cheeerz (y)