Merge pull request #10 from Hakkodevelopment/main

fixed spelling/grammar errors <3
This commit is contained in:
Andyyy7666
2022-07-11 06:48:47 +02:00
committed by GitHub
7 changed files with 37 additions and 33 deletions

View File

@@ -1,21 +1,21 @@
if config["/me"] then if config["/me"] then
TriggerEvent("chat:addSuggestion", "/me", "Send message in the third person (Proximity Chat).", {{ name="Action", help="Describe your action."}}) TriggerEvent("chat:addSuggestion", "/me", "Send message in the third person (Proximity).", {{ name="Action", help="Describe your action."}})
end end
if config["/gme"] then if config["/gme"] then
TriggerEvent("chat:addSuggestion", "/gme", "Send message in the third person (Global Chat).", {{ name="Action", help="Describe your action."}}) TriggerEvent("chat:addSuggestion", "/gme", "Send message in the third person (Global).", {{ name="Action", help="Describe your action."}})
end end
if config["/ooc"] then if config["/ooc"] then
TriggerEvent("chat:addSuggestion", "/ooc", "Out Of Character chat Message (Global Chat).", {{name="Message", help="Put your questions or help request."}}) TriggerEvent("chat:addSuggestion", "/ooc", "Out of Character chat message (Global).", {{name="Message", help="Put your questions or help request."}})
end end
if config["/twt"] then if config["/twt"] then
TriggerEvent("chat:addSuggestion", "/twt", "Send a Twotter in game. (Global Chat)", {{name="Message", help="Twotter Message."}}) TriggerEvent("chat:addSuggestion", "/twt", "Send a Twotter in game. (Global)", {{name="Message", help="Twotter Message."}})
end end
if config["/darkweb"].enabled then if config["/darkweb"].enabled then
TriggerEvent("chat:addSuggestion", "/darkweb", "Send a anonymous message in game (Global Chat).", {{ name="Message", help=""}}) TriggerEvent("chat:addSuggestion", "/darkweb", "Send a anonymous message in game (Global).", {{ name="Message", help=""}})
end end
if config["/911"].enabled then if config["/911"].enabled then

View File

@@ -4,7 +4,7 @@ config = {
serverName = "Andy's Development", serverName = "Andy's Development",
characterLimit = 15, characterLimit = 15,
changeCharacterCommand = "changecharacter", -- this is the command to open the ui again and change your character. changeCharacterCommand = "changecharacter", -- this is the command to open the ui again and change your character.
customPauseMenu = true, -- this will create a custom pause menu. It will display your money, characters name. And server name in the pause menu. customPauseMenu = true, -- this will create a custom pause menu. It will display your money, characters name and the server name in the pause menu.
-- set your backgrounds, if you have more than 1 then it will randomly change everytime you open the ui. -- set your backgrounds, if you have more than 1 then it will randomly change everytime you open the ui.
backgrounds = { backgrounds = {
@@ -56,12 +56,12 @@ config = {
enableMoneySystem = true, enableMoneySystem = true,
maxStartingCash = 2500, maxStartingCash = 2500,
maxStartingBank = 8000, maxStartingBank = 8000,
payCommand = "pay", -- Command to transfer someone money from bank account. payCommand = "pay", -- Command to transfer money from your bank to another persons.
giveCommand = "give", -- Command to give someone close money from wallet. giveCommand = "give", -- Command to give someone near you cash.
-- Discord Rich precence -- Discord Rich presence
enableRichPrecence = true, enableRichPresence = true,
updateIntervall = 60, -- how many seconds delay until it updates status. updateIntervall = 60, -- how many seconds of delay until it updates status.
appId = 858146067018416128, appId = 858146067018416128,
largeLogo = "andyyy", largeLogo = "andyyy",
smallLogo = "andyyy", smallLogo = "andyyy",

View File

@@ -209,8 +209,8 @@ RegisterNUICallback("tpDoNot", function()
TriggerServerEvent("getMoney", selectedCharacter.id) TriggerServerEvent("getMoney", selectedCharacter.id)
end) end)
-- discord rich precense will show on a users profile. -- discord rich presence will show on a users profile.
if config.enableRichPrecence then if config.enableRichPresence then
Citizen.CreateThread(function() Citizen.CreateThread(function()
while true do while true do
SetDiscordAppId(config.appId) SetDiscordAppId(config.appId)

View File

@@ -1,7 +1,7 @@
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6 -- For support join my discord: https://discord.gg/Z9Mxu72zZ6
doorList = { doorList = {
-- Sandy Shores Sheriff office front door. -- Sandy Shores Sheriff's Office front door.
{ {
textCoords = vector3(1855.1896, 3683.4507, 34.2675), textCoords = vector3(1855.1896, 3683.4507, 34.2675),
authorizedJobs = {"BCSO", "LSPD", "BCSO"}, authorizedJobs = {"BCSO", "LSPD", "BCSO"},
@@ -12,7 +12,7 @@ doorList = {
} }
}, },
-- Paleto bay Sheriff office office front doors. -- Paleto Bay Sheriff's Office front doors.
{ {
textCoords = vector3(-443.6129, 6016.0483, 31.7164), textCoords = vector3(-443.6129, 6016.0483, 31.7164),
authorizedJobs = {"BCSO", "LSPD", "BCSO"}, authorizedJobs = {"BCSO", "LSPD", "BCSO"},

View File

@@ -1,24 +1,24 @@
config = { config = {
maxJailTime = 300, -- Max time in seconds that someone can jail another player. maxJailTime = 300, -- Max time in seconds that someone can jail another player for.
jailDistance = 90.0, -- How far can the player go from the Jail coordinates. If the player is further than the set amount they will be teleported back. jailDistance = 90.0, -- How far can the player go from the Jail coordinates. If the player is further than the set amount they will be teleported back.
jailCoords = {x = 1680.21, y = 2513.25, z = 44.56, h = 6.53}, jailCoords = {x = 1680.21, y = 2513.25, z = 44.56, h = 6.53},
releaseCoords = {x = 1840.22, y = 2608.42, z = 45.58, h = 270.09}, releaseCoords = {x = 1840.22, y = 2608.42, z = 45.58, h = 270.09},
-- Where can players access it from. -- Where can players access the UI from.
accessLocation = { accessLocation = {
{x = -450.17, y = 6012.62, z = 31.71}, -- Paleto Bay Sheriff's Office {x = -450.17, y = 6012.62, z = 31.71}, -- Paleto Bay Sheriff's Office
{x = 1853.57, y = 3690.74, z = 34.26}, -- Sandy Shores Sheriff's Office {x = 1853.57, y = 3690.74, z = 34.26}, -- Sandy Shores Sheriff's Office
{x = 460.53, y = -988.84, z = 24.91} -- Mission Row PD {x = 460.53, y = -988.84, z = 24.91} -- Mission Row PD
}, },
-- Departments that can access the jail tablet. -- Departments that can access the jail UI.
accessDepartments = { accessDepartments = {
"SAHP", "SAHP",
"LSPD", "LSPD",
"BCSO" "BCSO"
}, },
-- How close does the player have to be to the coordiantes to be able to open the tablet. -- How close the player must be to access the jail UI
accessDistance = 1.2, accessDistance = 1.2,
} }

View File

@@ -1,21 +1,21 @@
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6 -- For support join my discord: https://discord.gg/Z9Mxu72zZ6
config = { config = {
shotSpotterDelay = 10, -- delay (in seconds) when cops will receive a notification after there has been a shooting. shotSpotterDelay = 10, -- How long until the police are notified about the shooting (in seconds).
shotSpotterTimer = 120, -- How long should the shot spotter stay on the map. shotSpotterTimer = 120, -- How long should the shot spotter stay on the map.
shotSpotterCooldown = 30, -- Cooldown for the next time a player can trigger it again. shotSpotterCooldown = 30, -- How long until the shot spotter can be activated again.
shotSpotterUsePostal = true, -- if you're using the nearest postal script turn this to true. shotSpotterUsePostal = true, -- If you're using a postal script turn this to true.
postalResourceName = "nearest-postal", -- the resource name of the nearest postal script, this is used for the export. postalResourceName = "nearest-postal", -- the resource name of the postal script, this is used for the export.
-- This is the departments that will receive the shot spotter alerts. -- What departments should recieve the alerts.
receiveAlerts = { receiveAlerts = {
"SAHP", "SAHP",
"LSPD", "LSPD",
"BCSO" "BCSO"
}, },
-- Weapon that won't be triggered by the shot spotter. -- What weapons will not trigger the shot spotter.
weaponBlackList = { weaponBlackList = {
"weapon_flaregun", "weapon_flaregun",
"weapon_stungun_mp", "weapon_stungun_mp",
@@ -35,7 +35,7 @@ config = {
"weapon_fertilizercan" "weapon_fertilizercan"
}, },
useRealisticShotSpotter = false, -- this is if you want to enable the shot spotter only when the player is inside one of the zones below. The zones are in the city and a little around it. useRealisticShotSpotter = false, -- Enable this if you want the shot spotters to only be in the locations below. (default is in and around Los Santos)
realisticShotSpotterLocations = { realisticShotSpotterLocations = {
{x = 653.4214, y = -648.7440, z = 57.1897}, {x = 653.4214, y = -648.7440, z = 57.1897},
{x = 1015.9837, y = -255.2573, z = 85.5857}, {x = 1015.9837, y = -255.2573, z = 85.5857},
@@ -51,7 +51,7 @@ config = {
{x = 716.6274, y = -1958.7434, z = 44.7564} {x = 716.6274, y = -1958.7434, z = 44.7564}
}, },
testing = false -- if you're adding zones above and want to enable the blips on the map to see where the zone is then turn this on, otherwise turn it off. testing = false -- If you're adding zones and want to test them easier, set this to true. Otherwise keep it false.
} }
function notify(message) function notify(message)

View File

@@ -13,6 +13,10 @@ You can find most free addons in the ND_Framework repository and you can find mo
* Money system * Money system
* Character creation * Character creation
* Roleplay Commands * Roleplay Commands
* ATM & Banking System
* Jailing UI
* Shot Spotter
* Door Locks
# Need support? # Need support?
[![Need Support?](https://user-images.githubusercontent.com/86536434/147299047-73691b78-2690-4786-b58b-27d24e48a0d2.png)](https://discord.gg/Z9Mxu72zZ6) [![Need Support?](https://user-images.githubusercontent.com/86536434/147299047-73691b78-2690-4786-b58b-27d24e48a0d2.png)](https://discord.gg/Z9Mxu72zZ6)