-
Notifications
You must be signed in to change notification settings - Fork 10
Vehicle_SetEngineState
Stefan Unković edited this page Jul 25, 2021
·
2 revisions
Sets engine state to either on or off. E.g. turns engine off or on.
Vehicle_SetEngineState(VEHICLE_FRAMEWORK_TAGS: id, e_ENGINE_STATES: engine_state)
Param | Definition |
---|---|
VEHICLE_FRAMEWORK_TAGS: id | ID whether of the vehicle or group |
e_ENGINE_STATES: engine_state | Either ENGINE_STATE_ON or ENGINE_STATE_OFF to turn engine respectively |
It actually returns SetVehicleParamsEx
values. E.g. 1 if function executes succesfully, otherwise 0.
This library has been made to ease use of vehicle functions provided by SA:MP. I've spent most of my free time to develop a library that everyone can use. This is also the biggest library I've ever made. Therefore, if you find any bugs, feel free to request a pull or report me.
-
Functions
- Engines
- Lights
- Alarms
-
Doors
- Vehicle_SetDoorState
- Vehicle_GetDoorState
- Vehicle_GetDoorsLockState
- Vehicle_SetDoorsLockState
- Tires
- Vehicle_SetTireState
- Vehicle_GetTireState
- Plates
- Vehicle_GetNumberPlate
- Vehicle_SetNumberPlate
- Windows
- Vehicle_SetWindows
- Vehicle_GetWindows
- Panels
- Vehicle_SetPanelStates
- Vehicle_GetPanelStates
- Vehicle_SetBumperStates
- Vehicle_GetBumperStates
- Vehicle_GetWindshieldState