Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
-1 means they have not been set.
-1 = UNSET
0 = CLOSED
1 = OPEN
Posts: 937
Threads: 106
Joined: Jan 2010
Reputation:
0
SetVehicleParamsCarDoors(VEHICLE_ID, 0,0,0,0); // All Closed.
SetVehicleParamsCarDoors(VEHICLE_ID, 1, 1, 1, 1);// All Opened
SetVehicleParamsCarDoors(VEHICLE_ID, -1, -1, -1, -1);// All unset
Posts: 12
Threads: 5
Joined: Jun 2015
Reputation:
0
06.07.2015, 08:58
(
Последний раз редактировалось Muted; 06.07.2015 в 09:38.
)
I need GetVehicleParamsCarDoors to return correct values, not -1. I already said that I've tried closing all the doors, but it still returned -1 for all doors.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Then you are not locking them properly.
Posts: 12
Threads: 5
Joined: Jun 2015
Reputation:
0
SetVehicleParamsCarDoors(vehicleid, 0, 0, 0, 0);
How is that not closing (I kept saying locked instead of closed) properly.