disableAlerts
🚨 Disable Alerts
Description
Temporarily disables or re-enables dispatch alerts for the player. Useful when entering specific zones (e.g., police stations, garages, safe zones) where dispatch notifications should not be triggered.
✅ Usage
-- Disable alerts
disableAlerts(true)
-- Enable alerts again
disableAlerts(false)📌 Parameters
Parameter
Type
Description
disable
boolean
true = Disable dispatch alerts (entering a no-dispatch zone). false = Enable alerts again (leaving the zone).
💡 Example
Disable alerts while inside a no-dispatch zone:
Last updated