IsVehicleHornActive
From Onset Developer Wiki
Description
Check if the vehicle horn is active or not.
Syntax
IsVehicleHornActive(vehicle)
Parameters
- vehicle
The vehicle identifier.
Return Value
- Returns true on success.
Example
local vehicleId = GetPlayerVehicle()
if IsVehicleHornActive(vehicleId) then
AddPlayerChat("You are pressing the horn.")
end
See also
__EDIT_ME__