Skip to content

Commit 0f702d3

Browse files
authored
Fix SetVehicleParamsEx
1 parent 5752c03 commit 0f702d3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

frontend/docs/scripting/functions/SetVehicleParamsEx.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

@@ -35,7 +35,7 @@ new
3535

3636
// If setting a single parameter, you should obtain the current parameters so they aren't ALL changed
3737
new
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..
4141
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);

0 commit comments

Comments
 (0)