HUD
Functions

Vehicle: set ELS Lights

Turns on vehicles ELS lights.

Used in: VCMod ELS addon.

Shared Entity Vehicle:VC_setELSLights(Boolean on)

Arguments

1. Boolean on; To turn on, default is off.
If not specified, the command will be set to 'off'.

Example

concommand.Add("vehicle_setelslightson", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		ent:VC_setELSLights(true)
		print("Turning vehicles ELS light pattern on.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:41