HUD
Functions

Vehicle: get ELS Sound On

Check if the siren is on or not.

Used in: VCMod ELS addon.

Shared Entity Vehicle:VC_getELSSoundOn()

Returns

1. Boolean Siren is on.

Example

concommand.Add("vehicle_getissirenon", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		if ent:VC_getELSSoundOn() then
			print("Vehicles siren is on.")
		else
			print("Vehicles siren is off.")
		end
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:38