HUD
Functions

Vehicle: set Turn Light Left

Turns on vehicles left turn singnal (blinkers)

Used in: VCMod Main addon.

Shared Entity Vehicle:VC_setTurnLightLeft(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_leftblinkeron", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		ent:VC_setTurnLightLeft(true)
		print("Turning vehicles left blinker on.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:42