Made config and Position handling way more flexible

This commit is contained in:
Wofsauge committed 2020-11-27 22:40:58 +01:00
1 parent 207792168d
commit 4cb51d0672
5 files changed
+224 -202

No files matched your search

+2 -2
View File
@@ -100,8 +100,8 @@ EID:addColor("ColorBlackBlink", nil, function(color)
local function onDebugRender(t)
for i, v in ipairs(charsToDebug) do
local pos = Vector(EIDConfig["XPosition"], EIDConfig["YPosition"] - 15 + ((i - 1) * 14))
EID:renderString(v, pos, Vector(EIDConfig["Scale"], EIDConfig["Scale"]), KColor(1, 1, 1, 1, 0, 0, 0))
local pos = EID.getTextPosition() + Vector(0, - 15 + ((i - 1) * 14))
EID:renderString(v, pos, Vector(EID.Config["Scale"], EID.Config["Scale"]), KColor(1, 1, 1, 1, 0, 0, 0))
if not showDebugChars then
break