Shared Entity Vehicle:VC_setHazardLights(Boolean on)
1. Boolean on; To turn on, default is off.
If not specified, the command will be set to 'off'.
concommand.Add("vehicle_hazardlightson", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then ent:VC_setHazardLights(true) print("Turning vehicles hazard lights on.") else print("Invalid entity.") end end)