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.
This commit is contained in:
@@ -14,5 +14,7 @@ function OnStop()
|
||||
end
|
||||
|
||||
function OnTick()
|
||||
playerPed = PLAYER_PED_ID()
|
||||
if not DOES_ENTITY_EXIST(playerPed) or IS_PLAYER_SWITCH_IN_PROGRESS() or IS_PED_DEAD_OR_DYING(playerPed,0) then return end
|
||||
DRAW_RECT(0.5, 0.5, 1.0, 1.0, 0, 0, 0, 255)
|
||||
end
|
||||
|
Reference in New Issue
Block a user