1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-12 13:34:26 +02:00
parent 6a6c44143c
commit e50a457657
31 changed files with 1135 additions and 764 deletions

View file

@ -0,0 +1,12 @@
function canShow(targetPed)
local isEntityVisible = IsEntityVisible(targetPed)
local getEntityAlpha = GetEntityAlpha(targetPed)
local pedIsVisible = isEntityVisible and getEntityAlpha == 255
debug("pedIsVisible: " .. tostring(pedIsVisible), "ped:" .. targetPed, "isEntityVisible: " .. tostring(isEntityVisible), "getEntityAlpha: " .. getEntityAlpha)
return pedIsVisible
end
function debug(...)
if not config.debug then return end
print(...)
end