Badger Docs
Search…
Badger-Priorities

Badger-Priorities

What is it?

So it's just a priority cooldown script... I know what you're thinking. This is already a thing, it's already made! Well actually I found problems with the ones I found on the Fivem forums, so I decided to make a new one with some extra features. Another feature is that when the cooldowns are on (priority in progress, priorities on hold, or cooldown is above 0), then a message will be displayed to players driving a car 80 MPH or faster. This can be disabled in the configuration file too if you don't want this feature though.

Badger's Discord Community

Commands

/cooldown <time> Sets the amount of time priority cooldown is on (minutes)
/inprogress Sets the priority to in progress. Use this when a priority begins.
/onhold This puts all priorities on hold. It is an alternative to PeaceTime except players are able to attack others.
/resetpcd Changes Priority Cooldown back to 0 Minutes.

Permissions

add_ace group.trialmoderator Badger-Priorities.ResetPCD allow - Allowed to use /resetpcd
add_ace group.trialmoderator Badger-Priorities.InProgress allow - Allowed to use /inprogress
add_ace group.trialmoderator Badger-Priorities.OnHold allow - Allowed to use /onhold
add_ace group.trialmoderator Badger-Priorities.Cooldown allow - Allowed to use /cooldown
add_ace group.trialmoderator Badger-Priorities.Commands allow - Allowed to use all commands in the script

Screenshots

Configuration

1
Config = {
2
prefix = "^7[^1Badger-Priorities^7] ^3",
3
Options = {
4
EnableSpeedMessage = true,
5
EnablePCDMessage = true,
6
EnableHoldMessage = true,
7
EnableProgressMessage = true,
8
EnableCooldownMessage = true,
9
AlwaysDisplay = true, -- Always display the priority cooldown text even with 0 mins left?
10
CooldownDisplay = "~w~Priority Cooldown: ~r~{MINS} ~w~mins",
11
InProgressDisplay = "~w~Priority Cooldown: ~g~Priority in Progress",
12
OnHoldDisplay = "~w~Priority Cooldown: ~b~Priorities are on Hold",
13
-- TooFastDisplay triggers when a car is going over 80 MPH and priorities are in progress, on hold, or a cooldown is active
14
TooFastDisplay = "~r~NOTICE: ~b~You cannot run from police currently. You are risking staff punishment!",
15
resetDisplay = "~r~Cooldown: ~b~None"
16
},
17
Messages = {
18
CooldownMessage = 'A priority was just conducted... The cooldown has been activated. ' -- You can also use {MINS} parameter here
19
.. '^1You cannot run from police or cause any priorities (violent RP) until the cooldown has concluded!',
20
InProgressMessage = 'There is a priority in progress... ^1You cannot run from police or cause any priorities (violent RP) until priorities are off hold!',
21
OnHoldMessage = 'Priorities are now on hold... ^1You cannot run from police or cause any priorities (violent RP) until priorities are off hold!',
22
resetMessage = 'Priorities Have Been Reset!'
23
},
24
DisplayLocation = {
25
x = .50,
26
y = .005
27
}
28
}
Copied!

Download

GitHub - JaredScar/Badger-Priorities: A Fivem Script
GitHub
Last modified 1yr ago