- I introduced a system that checks if the player is dead or mid transition to stop visual effects overlaying on unimportant user interfaces.
22 lines
419 B
Lua
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
|