structura foldere

mutat kq- folders in un singur folder [kq]
This commit is contained in:
2026-03-30 01:55:03 +03:00
parent af1286d583
commit c291b81f26
2319 changed files with 0 additions and 14 deletions

View File

@@ -0,0 +1,57 @@
function GetVehicleClassHeatupMultiplier(vehicle)
local class = GetVehicleClass(vehicle)
return Config.heatUp.classes[class] or 1.0
end
function GetVehicleClassCooldownMultiplier(vehicle)
local class = GetVehicleClass(vehicle)
return Config.cooldown.classes[class] or 1.0
end
function GetVehicleUpgradeHeatupMultiplier(vehicle)
local brakeUpgrade = GetVehicleMod(vehicle, 12)
return Config.heatUp.brakeUpgrade[brakeUpgrade] or 1.0
end
function GetVehicleUpgradeCooldownMultiplier(vehicle)
local brakeUpgrade = GetVehicleMod(vehicle, 12)
return Config.cooldown.brakeUpgrade[brakeUpgrade] or 1.0
end
--This function is responsible for drawing all the 3d texts
function Draw3DText(coords, textInput, scaleX)
scaleX = scaleX * (Config.textScale or 1.0)
local px, py, pz = table.unpack(GetGameplayCamCoords())
local dist = GetDistanceBetweenCoords(px, py, pz, coords, true)
local scale = (1 / dist) * 20
local fov = (1 / GetGameplayCamFov()) * 100
scale = scale * fov
SetTextScale(scaleX * scale, scaleX * scale)
SetTextFont(Config.textFont or 4)
SetTextProportional(1)
SetTextDropshadow(1, 1, 1, 1, 255)
SetTextEdge(2, 0, 0, 0, 150)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(textInput)
SetDrawOrigin(coords, 0)
DrawText(0.0, 0.0)
ClearDrawOrigin()
end
function KeybindTip(message)
SetTextComponentFormat("STRING")
AddTextComponentString(message)
EndTextCommandDisplayHelp(0, 0, 0, 200)
end
-- This function is responsible for all the tooltips displayed on top right of the screen, you could
-- replace it with a custom notification etc.
function Notify(message)
SetTextComponentFormat("STRING")
AddTextComponentString(message)
EndTextCommandDisplayHelp(0, 0, 0, -1)
end