client
StartScreenEffect
FiveM client native documentation with a Lua example.
Summary
Starts a screen post-FX effect (drunk, death, focus, etc.). Used for status effects like intoxication, damage, or special abilities.
Returns
void
Parameters
effectNamestringThe effect name (e.g. 'DrugsMichaelAliensFight').durationnumberDuration in ms, 0 for indefinite.loopedbooleanWhether it loops.Example
StartScreenEffect('DrugsMichaelAliensFightIn', 0, true)
-- ... later
StopScreenEffect('DrugsMichaelAliensFightIn')Common pitfalls
- Remember to StopScreenEffect, or the effect sticks on screen.
- Effect names are fixed strings from GTA; keep a reference list.
Related natives
Related guides
Need protected areas on your map?
Viper Safe-Zone draws polygon safe zones in-game — no hand-edited coordinates — with weapon, combat and vehicle-speed rules per zone.
See Viper Safe-Zone →