Information The script uses the official FiveM escrow system
NOTE: Config are editable
Store
( We have more Scripts just give a Look )
https://fivem.phoenix-development.shop/
Video Prewiev Youtube
This script will bring you :
- You can add specific jobs that can use /radar.
- You can set the speed to (KM/h).
- You can set the speed to ( MP/h ).
- You can set the distance you want to show.
- You can change the font size.
- You can add your own notification.
- You can change the command
- You can turn on Discord Logs who ran the ( Command ).
This Logs Work:
- Name Logging
- Steam Logging
- License Logging
- Xbox LiveID Logging
- DiscordID Logging
- FiveMID Logging
- License2 Logging
- IP Logging
Configs:
client_config
Config = {}
Config.Locale = 'en' -- Language to use
Config.ESXLegacy = true -- Is your server running ESX Legacy?
Config.Distance = 50 -- Distance to render the speed display
Config.TextSize = 0.75 -- Size of the radar text
Config.UseKilometers = false -- Use Kilometers
-- Method to use for notifications
-- IMPORTANT: DO NOT CHANGE THE METHODS NAME LEAVE IT AS 'sendNotifications(message)'
-- Example: TriggerEvent('swt_notifications:Success', message)
function sendNotifications(message, type)
if type == 'error' then
TriggerEvent('esx:showNotification', message)
elseif type == 'success' then
TriggerEvent('esx:showNotification', message)
end
end
server_config
ServerConfig = {}
ServerConfig.Command = 'radar' -- The Command to use to activate the radar
ServerConfig.UpdateNotice = true -- If you want to be notified in your Server Console if an update is available.
ServerConfig.AllowedJobs = {
"police",
"swat"
}
-- Discord Logging
ServerConfig.WebhookLogging = false
-- Discord Webhooks
ServerConfig.Webhooks = {
CommandExecuted = ''
}
-- What Identifiers should be posted inside the log embed on Discord.
ServerConfig.IdentifiersLogging = {
name = true,
steam = true,
license = true,
xbl = true,
live = true,
discord = true,
fivem = true,
license2 = true,
ip = true
}
-- Method to use for notifications
-- IMPORTANT: DO NOT CHANGE THE METHODS NAME LEAVE IT AS 'sendServerNotifications(source, message, type)'
-- Example: TriggerClientEvent('swt_notifications:Success', source, message)
function sendServerNotifications(source, message, type)
if type == 'error' then
TriggerClientEvent('esx:showNotification', source, message)
elseif type == 'success' then
TriggerClientEvent('esx:showNotification', source, message)
end
end
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 350~ |
Requirements | QB-Core or ESX |
Support | Yes |