@@ -12,13 +12,13 @@ Sets a vehicle's parameters for all players.
1212| Name | Description |
1313| -------------- | --------------------------------------------------------------- |
1414| vehicleid | The ID of the vehicle to set the parameters of. |
15- | bool : engine | Engine status. 0 - Off, 1 - On. |
16- | bool : lights | Light status. 0 - Off, 1 - On. |
17- | bool : alarm | Vehicle alarm status. If on, the alarm starts. 0 - Off, 1 - On. |
18- | bool : doors | Door lock status. 0 - Unlocked, 1 - Locked. |
19- | bool : bonnet | Bonnet (hood) status. 0 - Closed, 1 - Open. |
20- | bool : boot | Boot/trunk status. 0 - Closed, 1 - Open. |
21- | bool : objective | Toggle the objective arrow above the vehicle. 0 - Off, 1 - On. |
15+ | engine | Engine status. 0 - Off, 1 - On. |
16+ | lights | Light status. 0 - Off, 1 - On. |
17+ | alarm | Vehicle alarm status. If on, the alarm starts. 0 - Off, 1 - On. |
18+ | doors | Door lock status. 0 - Unlocked, 1 - Locked. |
19+ | bonnet | Bonnet (hood) status. 0 - Closed, 1 - Open. |
20+ | boot | Boot/trunk status. 0 - Closed, 1 - Open. |
21+ | objective | Toggle the objective arrow above the vehicle. 0 - Off, 1 - On. |
2222
2323## Returns
2424
3535
3636// If setting a single parameter, you should obtain the current parameters so they aren't ALL changed
3737new
38- bool : engine , bool : lights , bool : alarm , bool : doors , bool : bonnet , bool : boot , bool : objective ;
38+ engine, lights, alarm, doors, bonnet, boot, objective;
3939
4040// Somewhere where you create the vehicle..
4141GetVehicleParamsEx (vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
0 commit comments