@@ -12,13 +12,13 @@ Gets a vehicle's parameters.
1212| Name | Description |
1313| --------------- | ------------------------------------------------------------------- |
1414| vehicleid | The ID of the vehicle to get the parameters from. |
15- | &bool : engine | Get the engine status. If 1, the engine is running.. |
16- | &bool : lights | Get the vehicle's lights' state. If 1 the lights are on. |
17- | &bool : alarm | Get the vehicle's alarm state. If 1 the alarm is (or was) sounding. |
18- | &bool : doors | Get the lock status of the doors. If 1 the doors are locked. |
19- | &bool : bonnet | Get the bonnet/hood status. If 1, it's open. |
20- | &bool : boot | Get the boot/trunk status. 1 means it is open. |
21- | &bool : objective | Get the objective status. 1 means the objective is on. |
15+ | &engine | Get the engine status. If 1, the engine is running.. |
16+ | &lights | Get the vehicle's lights' state. If 1 the lights are on. |
17+ | &alarm | Get the vehicle's alarm state. If 1 the alarm is (or was) sounding. |
18+ | &doors | Get the lock status of the doors. If 1 the doors are locked. |
19+ | &bonnet | Get the bonnet/hood status. If 1, it's open. |
20+ | &boot | Get the boot/trunk status. 1 means it is open. |
21+ | &objective | Get the objective status. 1 means the objective is on. |
2222
2323## Returns
2424
@@ -32,7 +32,7 @@ The vehicle's parameters are stored in the referenced variables, not in the retu
3232
3333``` c
3434new
35- bool : engine, bool : lights, bool : alarm, bool : doors, bool : bonnet, bool : boot, bool : objective;
35+ engine, lights, alarm, doors, bonnet, boot, objective;
3636GetVehicleParamsEx (vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
3737//This would cause all the variable above, to become the status of its subject.
3838```
0 commit comments