Files
gta-v-chaos-mod-custom-scripts/Screen/ScreenThreeDeeGlasses.lua
nathan ad36f277cc Modified effects:
- I introduced a system that checks if the player is dead or mid transition to stop visual effects overlaying on unimportant user interfaces.
2025-09-24 22:08:04 +01:00

22 lines
419 B
Lua

EffectInfo = {
Name = "3D Glasses",
EffectId = "screen_threedeeglasses",
TimedType = "Normal",
EffectGroup = "_group_shader",
EffectCategory = "Shader",
}
function OnStart()
end
function OnStop()
SET_FOLLOW_PED_CAM_VIEW_MODE(1)
end
function OnTick()
DRAW_RECT(1.0, 0.5, 1.0, 1.0, 0, 0, 255, 168)
DRAW_RECT(0.0, 0.5, 1.0, 1.0, 255, 0, 0, 168)
SET_FOLLOW_PED_CAM_VIEW_MODE(4)
end