diff --git a/ND_Chat/source/client.lua b/ND_Chat/source/client.lua index 904a8ce..3304bd7 100644 --- a/ND_Chat/source/client.lua +++ b/ND_Chat/source/client.lua @@ -1,21 +1,21 @@ 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 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 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 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 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 if config["/911"].enabled then @@ -42,4 +42,4 @@ if config["/911"].enabled then end end end) -end \ No newline at end of file +end diff --git a/ND_Core/config_client.lua b/ND_Core/config_client.lua index a28f433..63066e6 100644 --- a/ND_Core/config_client.lua +++ b/ND_Core/config_client.lua @@ -4,7 +4,7 @@ config = { serverName = "Andy's Development", characterLimit = 15, 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. backgrounds = { @@ -56,12 +56,12 @@ config = { enableMoneySystem = true, maxStartingCash = 2500, maxStartingBank = 8000, - payCommand = "pay", -- Command to transfer someone money from bank account. - giveCommand = "give", -- Command to give someone close money from wallet. + payCommand = "pay", -- Command to transfer money from your bank to another persons. + giveCommand = "give", -- Command to give someone near you cash. - -- Discord Rich precence - enableRichPrecence = true, - updateIntervall = 60, -- how many seconds delay until it updates status. + -- Discord Rich presence + enableRichPresence = true, + updateIntervall = 60, -- how many seconds of delay until it updates status. appId = 858146067018416128, largeLogo = "andyyy", smallLogo = "andyyy", @@ -69,4 +69,4 @@ config = { firstButtonLink = "https://discord.gg/Z9Mxu72zZ6", secondButtonName = "TEBEX", secondButtonLink = "https://andyyy.tebex.io/category/fivem-scripts" -} \ No newline at end of file +} diff --git a/ND_Core/source/client.lua b/ND_Core/source/client.lua index 3f96d4b..6599ace 100644 --- a/ND_Core/source/client.lua +++ b/ND_Core/source/client.lua @@ -209,8 +209,8 @@ RegisterNUICallback("tpDoNot", function() TriggerServerEvent("getMoney", selectedCharacter.id) end) --- discord rich precense will show on a users profile. -if config.enableRichPrecence then +-- discord rich presence will show on a users profile. +if config.enableRichPresence then Citizen.CreateThread(function() while true do SetDiscordAppId(config.appId) @@ -263,4 +263,4 @@ TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch if config.enableMoneySystem then TriggerEvent("chat:addSuggestion", "/" .. config.payCommand, "Transfer money to player", {{name="id", help="Player server id" }, {name="amount", help="amount to pay"}}) TriggerEvent("chat:addSuggestion", "/" .. config.giveCommand, "Give money to closeby player", {{name="amount", help="amount to give"}}) -end \ No newline at end of file +end diff --git a/ND_Doorlocks/config.lua b/ND_Doorlocks/config.lua index e1897ba..c57eed2 100644 --- a/ND_Doorlocks/config.lua +++ b/ND_Doorlocks/config.lua @@ -1,7 +1,7 @@ -- For support join my discord: https://discord.gg/Z9Mxu72zZ6 doorList = { - -- Sandy Shores Sheriff office front door. + -- Sandy Shores Sheriff's Office front door. { textCoords = vector3(1855.1896, 3683.4507, 34.2675), 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), authorizedJobs = {"BCSO", "LSPD", "BCSO"}, @@ -35,4 +35,4 @@ doorList = { {hash = 320433149, coords = vector3(434.8228, -982.7103, 30.6896), heading = 272.0} } }, -} \ No newline at end of file +} diff --git a/ND_Jailing/config_client.lua b/ND_Jailing/config_client.lua index 28478ff..22d9ec4 100644 --- a/ND_Jailing/config_client.lua +++ b/ND_Jailing/config_client.lua @@ -1,24 +1,24 @@ 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. 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}, - -- Where can players access it from. + -- Where can players access the UI from. accessLocation = { {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 = 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 = { "SAHP", "LSPD", "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, -} \ No newline at end of file +} diff --git a/ND_ShotSpotter/config_client.lua b/ND_ShotSpotter/config_client.lua index 37a0cf0..cf2b797 100644 --- a/ND_ShotSpotter/config_client.lua +++ b/ND_ShotSpotter/config_client.lua @@ -1,21 +1,21 @@ -- For support join my discord: https://discord.gg/Z9Mxu72zZ6 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. - 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. - postalResourceName = "nearest-postal", -- the resource name of the nearest postal script, this is used for the export. + shotSpotterUsePostal = true, -- If you're using a postal script turn this to true. + 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 = { "SAHP", "LSPD", "BCSO" }, - -- Weapon that won't be triggered by the shot spotter. + -- What weapons will not trigger the shot spotter. weaponBlackList = { "weapon_flaregun", "weapon_stungun_mp", @@ -35,7 +35,7 @@ config = { "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 = { {x = 653.4214, y = -648.7440, z = 57.1897}, {x = 1015.9837, y = -255.2573, z = 85.5857}, @@ -51,11 +51,11 @@ config = { {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) BeginTextCommandThefeedPost("STRING") AddTextComponentSubstringPlayerName(message) EndTextCommandThefeedPostTicker(0,1) -end \ No newline at end of file +end diff --git a/README.md b/README.md index 4ada45f..37cecd5 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ You can find most free addons in the ND_Framework repository and you can find mo * Money system * Character creation * Roleplay Commands +* ATM & Banking System +* Jailing UI +* Shot Spotter +* Door Locks # Need support? [![Need Support?](https://user-images.githubusercontent.com/86536434/147299047-73691b78-2690-4786-b58b-27d24e48a0d2.png)](https://discord.gg/Z9Mxu72zZ6)