You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update README.md
* Update alerts.lua
* Update main.lua
* Update config.lua
* Update main.lua
* final fix XD
final fix XD
* updated readme, should be fine now
updated readme, should be fine now
* Update config.lua
* Updated instructions
---------
Co-authored-by: MonkeyWhisper <82112471+MonkeyWhisper@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,13 @@ Dispatch notifications are sent containing only the alert name, omitting additio
96
96
- On shared/config.lua make set Config.Debug = true to test calls as police officer.(ONLY to be used as testing, make sure to disable on live production)
97
97
98
98
* How to change colors of the calls?
99
-
- Priority 1 is red and priority 2 is normal on the config.
99
+
- Priority 1 is red and priority 2 is normal on the config.
100
+
101
+
* To increase the time that calls are shown on the screen, do the following:
102
+
- Find the "alerts.lua" file in the client folder.
103
+
- Open this file with a text editor or a development tool like Visual Studio Code.
104
+
- Look for the code "alertTime = nil".
105
+
- Replace "nil" with the number of seconds you want the calls to display. For example, setting "alertTime = 25" means calls will be shown for 25 seconds.
Copy file name to clipboardExpand all lines: shared/config.lua
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Config.Debug = false -- Enables debug and send alerts when leo break the law.
5
5
6
6
Config.RespondKeybind='E'
7
7
Config.OpenDispatchMenu='O'
8
-
Config.AlertTime=5--How many seconds you want the alert to stay on screen
8
+
Config.AlertTime=5--Specify the duration for the alert to appear on the screen. The default time is 5 seconds for all alerts. To set a different duration for specific alerts, change the value in `alertTime = nil` found in the alerts.lua file.
9
9
10
10
Config.MaxCallList=25-- maximum dispatch calls in dispatch list
11
11
Config.OnDutyOnly=true-- Set true if only on duty players can see the alert
0 commit comments