HUD
Functions

Vehicle: set ELS Lights Cycle

Cycle through avialable sirens.

Used in: VCMod ELS addon.

Shared Entity Vehicle:VC_setELSLightsCycle()

Example

concommand.Add("vehicle_elslightscycle", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		ent:VC_setELSLightsCycle()
		print("Cycling through available ELS light patterns.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:41