Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- --
- -- -- ██████╗░██╗░░░██╗██████╗░███████╗██╗░░░██╗███████╗░██████╗████████╗███╗░░██╗██╗██╗░░██╗
- -- -- ██╔══██╗██║░░░██║██╔══██╗██╔════╝██║░░░██║██╔════╝██╔════╝╚══██╔══╝████╗░██║██║██║░██╔╝
- -- -- ██████╦╝██║░░░██║██████╔╝█████╗░░╚██╗░██╔╝█████╗░░╚█████╗░░░░██║░░░██╔██╗██║██║█████═╝░
- -- -- ██╔══██╗██║░░░██║██╔══██╗██╔══╝░░░╚████╔╝░██╔══╝░░░╚═══██╗░░░██║░░░██║╚████║██║██╔═██╗░
- -- -- ██████╦╝╚██████╔╝██║░░██║███████╗░░╚██╔╝░░███████╗██████╔╝░░░██║░░░██║░╚███║██║██║░╚██╗
- -- -- ╚═════╝░░╚═════╝░╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚══════╝╚═════╝░░░░╚═╝░░░╚═╝░░╚══╝╚═╝╚═╝░░╚═╝
- Settings = {}
- --Defining the framework like esx/qb/standalone. (Custom ones can be added to the bridge file).
- Settings.myFramework = 'esx'
- --Do you want to use a inventory system?
- Settings.useInventory = true
- --Inventory definition like ox_inventory/qb-inventory/esx. (Custom ones can be added to the bridge file).
- Settings.myInventory = 'ox_inventory'
- --Target definition like ox_target/native. (Custom ones can be added to the bridge file).
- Settings.myTarget = 'ox_target'
- Settings.myTargetText = "Interact with the quest"
- Settings.myTargetIcon = "fa-solid fa-question"
- Settings.myTargetRadius = 1.5
- Settings.myTargetRadiusStages = 2.0
- Settings.myTargetDebug = false
- -- The distance of interaction with the environment
- Settings.InteractionDistance = 2.0
- --The distance for interaction with the stages of the quest
- Settings.DistInteraction = 2.0
- --Interaction Button Key (If myTarget == 'native')
- Settings.InteractionButtonKey = 38
- -- If true, the custom interaction menus are activated. Pay attention to the customInteractionButtonOpen and customInteractionButtonClose functions.
- Settings.UseCustomInteractionButton = false
- -- The function of opening a custom interaction menu.
- -- I recommend checking the first 2 values for nil to avoid errors.
- Settings.customInteractionButtonOpen = function(pedData, questData, isQuest) -- pedData - returns the information of the quest ped; Example: pedData["name"]; pedData["position"] | questData - returns information about the quest; Example: pedData["name"]; pedData["position"] | isQuest - returns information about whether it is a quest or an interaction marker
- if isQuest then
- exports.Burevestnik_interaction_button:bur_nui_InteractionButton_open(Settings.BurevestnikInteractionButton, Settings.BurevestnikInteractionButtonText) -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
- else
- exports.Burevestnik_interaction_button:bur_nui_InteractionButton_open(Settings.BurevestnikInteractionButton, Settings.BurevestnikInteractionButtonText2) -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
- end
- end
- -- The function of closing the custom interaction menu.
- Settings.customInteractionButtonClose = function()
- exports.Burevestnik_interaction_button:bur_nui_InteractionButton_close() -- Use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
- end
- --Do you want to use a notification system?
- Settings.useNotifications = true
- --Notification definition like ox_lib/native/custom. (Custom ones can be added to the bridge file).
- Settings.myNotifications = 'ox_lib'
- --Do you want the camera to fly into the sky when creating a lobby/menu?
- Settings.useCameraSystemDistance = true
- --Do you want to use the lobby system?
- Settings.useLobbySystem = true
- --Lobby menu colors:
- --0 = HUD_COLOUR_PURE_WHITE, 1 = HUD_COLOUR_WHITE, 2 = HUD_COLOUR_BLACK, 3 = HUD_COLOUR_GREY, 4 = HUD_COLOUR_GREYLIGHT, 5 = HUD_COLOUR_GREYDARK, 6 = HUD_COLOUR_RED, 7 = HUD_COLOUR_REDLIGHT, 8 = HUD_COLOUR_REDDARK, 9 = HUD_COLOUR_BLUE, 10 = HUD_COLOUR_BLUELIGHT, 11 = HUD_COLOUR_BLUEDARK, 12 = HUD_COLOUR_YELLOW, 13 = HUD_COLOUR_YELLOWLIGHT, 14 = HUD_COLOUR_YELLOWDARK, 15 = HUD_COLOUR_ORANGE, 16 = HUD_COLOUR_ORANGELIGHT, 17 = HUD_COLOUR_ORANGEDARK, 18 = HUD_COLOUR_GREEN, 19 = HUD_COLOUR_GREENLIGHT, 20 = HUD_COLOUR_GREENDARK, 21 = HUD_COLOUR_PURPLE, 22 = HUD_COLOUR_PURPLELIGHT, 23 = HUD_COLOUR_PURPLEDARK, 24 = HUD_COLOUR_PINK, 25 = HUD_COLOUR_RADAR_HEALTH, 26 = HUD_COLOUR_RADAR_ARMOUR, 27 = HUD_COLOUR_RADAR_DAMAGE, 28 = HUD_COLOUR_NET_PLAYER1, 29 = HUD_COLOUR_NET_PLAYER2, 30 = HUD_COLOUR_NET_PLAYER3, 31 = HUD_COLOUR_NET_PLAYER4, 32 = HUD_COLOUR_NET_PLAYER5, 33 = HUD_COLOUR_NET_PLAYER6, 34 = HUD_COLOUR_NET_PLAYER7, 35 = HUD_COLOUR_NET_PLAYER8, 36 = HUD_COLOUR_NET_PLAYER9, 37 = HUD_COLOUR_NET_PLAYER10, 38 = HUD_COLOUR_NET_PLAYER11, 39 = HUD_COLOUR_NET_PLAYER12, 40 = HUD_COLOUR_NET_PLAYER13, 41 = HUD_COLOUR_NET_PLAYER14, 42 = HUD_COLOUR_NET_PLAYER15, 43 = HUD_COLOUR_NET_PLAYER16, 44 = HUD_COLOUR_NET_PLAYER17, 45 = HUD_COLOUR_NET_PLAYER18, 46 = HUD_COLOUR_NET_PLAYER19, 47 = HUD_COLOUR_NET_PLAYER20, 48 = HUD_COLOUR_NET_PLAYER21, 49 = HUD_COLOUR_NET_PLAYER22,
- --50 = HUD_COLOUR_NET_PLAYER23, 51 = HUD_COLOUR_NET_PLAYER24, 52 = HUD_COLOUR_NET_PLAYER25, 53 = HUD_COLOUR_NET_PLAYER26, 54 = HUD_COLOUR_NET_PLAYER27, 55 = HUD_COLOUR_NET_PLAYER28, 56 = HUD_COLOUR_NET_PLAYER29, 57 = HUD_COLOUR_NET_PLAYER30, 58 = HUD_COLOUR_NET_PLAYER31, 59 = HUD_COLOUR_NET_PLAYER32, 60 = HUD_COLOUR_SIMPLEBLIP_DEFAULT, 61 = HUD_COLOUR_MENU_BLUE, 62 = HUD_COLOUR_MENU_GREY_LIGHT, 63 = HUD_COLOUR_MENU_BLUE_EXTRA_DARK, 64 = HUD_COLOUR_MENU_YELLOW, 65 = HUD_COLOUR_MENU_YELLOW_DARK, 66 = HUD_COLOUR_MENU_GREEN, 67 = HUD_COLOUR_MENU_GREY, 68 = HUD_COLOUR_MENU_GREY_DARK, 69 = HUD_COLOUR_MENU_HIGHLIGHT, 70 = HUD_COLOUR_MENU_STANDARD, 71 = HUD_COLOUR_MENU_DIMMED, 72 = HUD_COLOUR_MENU_EXTRA_DIMMED, 73 = HUD_COLOUR_BRIEF_TITLE, 74 = HUD_COLOUR_MID_GREY_MP, 75 = HUD_COLOUR_NET_PLAYER1_DARK, 76 = HUD_COLOUR_NET_PLAYER2_DARK, 77 = HUD_COLOUR_NET_PLAYER3_DARK, 78 = HUD_COLOUR_NET_PLAYER4_DARK, 79 = HUD_COLOUR_NET_PLAYER5_DARK, 80 = HUD_COLOUR_NET_PLAYER6_DARK, 81 = HUD_COLOUR_NET_PLAYER7_DARK, 82 = HUD_COLOUR_NET_PLAYER8_DARK, 83 = HUD_COLOUR_NET_PLAYER9_DARK, 84 = HUD_COLOUR_NET_PLAYER10_DARK, 85 = HUD_COLOUR_NET_PLAYER11_DARK, 86 = HUD_COLOUR_NET_PLAYER12_DARK, 87 = HUD_COLOUR_NET_PLAYER13_DARK, 88 = HUD_COLOUR_NET_PLAYER14_DARK, 89 = HUD_COLOUR_NET_PLAYER15_DARK, 90 = HUD_COLOUR_NET_PLAYER16_DARK, 91 = HUD_COLOUR_NET_PLAYER17_DARK, 92 = HUD_COLOUR_NET_PLAYER18_DARK, 93 = HUD_COLOUR_NET_PLAYER19_DARK, 94 = HUD_COLOUR_NET_PLAYER20_DARK, 95 = HUD_COLOUR_NET_PLAYER21_DARK, 96 = HUD_COLOUR_NET_PLAYER22_DARK, 97 = HUD_COLOUR_NET_PLAYER23_DARK, 98 = HUD_COLOUR_NET_PLAYER24_DARK, 99 = HUD_COLOUR_NET_PLAYER25_DARK,
- --100 = HUD_COLOUR_NET_PLAYER26_DARK, 101 = HUD_COLOUR_NET_PLAYER27_DARK, 102 = HUD_COLOUR_NET_PLAYER28_DARK, 103 = HUD_COLOUR_NET_PLAYER29_DARK, 104 = HUD_COLOUR_NET_PLAYER30_DARK, 105 = HUD_COLOUR_NET_PLAYER31_DARK, 106 = HUD_COLOUR_NET_PLAYER32_DARK, 107 = HUD_COLOUR_BRONZE, 108 = HUD_COLOUR_SILVER, 109 = HUD_COLOUR_GOLD, 110 = HUD_COLOUR_PLATINUM, 111 = HUD_COLOUR_GANG1, 112 = HUD_COLOUR_GANG2, 113 = HUD_COLOUR_GANG3, 114 = HUD_COLOUR_GANG4, 115 = HUD_COLOUR_SAME_CREW, 116 = HUD_COLOUR_FREEMODE, 117 = HUD_COLOUR_PAUSE_BG, 118 = HUD_COLOUR_FRIENDLY, 119 = HUD_COLOUR_ENEMY, 120 = HUD_COLOUR_LOCATION, 121 = HUD_COLOUR_PICKUP, 122 = HUD_COLOUR_PAUSE_SINGLEPLAYER, 123 = HUD_COLOUR_FREEMODE_DARK, 124 = HUD_COLOUR_INACTIVE_MISSION, 125 = HUD_COLOUR_DAMAGE, 126 = HUD_COLOUR_PINKLIGHT, 127 = HUD_COLOUR_PM_MITEM_HIGHLIGHT, 128 = HUD_COLOUR_SCRIPT_VARIABLE, 129 = HUD_COLOUR_YOGA, 130 = HUD_COLOUR_TENNIS, 131 = HUD_COLOUR_GOLF, 132 = HUD_COLOUR_SHOOTING_RANGE, 133 = HUD_COLOUR_FLIGHT_SCHOOL, 134 = HUD_COLOUR_NORTH_BLUE, 135 = HUD_COLOUR_SOCIAL_CLUB, 136 = HUD_COLOUR_PLATFORM_BLUE, 137 = HUD_COLOUR_PLATFORM_GREEN, 138 = HUD_COLOUR_PLATFORM_GREY, 139 = HUD_COLOUR_FACEBOOK_BLUE, 140 = HUD_COLOUR_INGAME_BG, 141 = HUD_COLOUR_DARTS, 142 = HUD_COLOUR_WAYPOINT, 143 = HUD_COLOUR_MICHAEL, 144 = HUD_COLOUR_FRANKLIN, 145 = HUD_COLOUR_TREVOR, 146 = HUD_COLOUR_GOLF_P1, 147 = HUD_COLOUR_GOLF_P2, 148 = HUD_COLOUR_GOLF_P3, 149 = HUD_COLOUR_GOLF_P4,
- --150 = HUD_COLOUR_WAYPOINTLIGHT, 151 = HUD_COLOUR_WAYPOINTDARK, 152 = HUD_COLOUR_PANEL_LIGHT, 153 = HUD_COLOUR_MICHAEL_DARK, 154 = HUD_COLOUR_FRANKLIN_DARK, 155 = HUD_COLOUR_TREVOR_DARK, 156 = HUD_COLOUR_OBJECTIVE_ROUTE, 157 = HUD_COLOUR_PAUSEMAP_TINT, 158 = HUD_COLOUR_PAUSE_DESELECT, 159 = HUD_COLOUR_PM_WEAPONS_PURCHASABLE, 160 = HUD_COLOUR_PM_WEAPONS_LOCKED, 161 = HUD_COLOUR_END_SCREEN_BG, 162 = HUD_COLOUR_CHOP, 163 = HUD_COLOUR_PAUSEMAP_TINT_HALF, 164 = HUD_COLOUR_NORTH_BLUE_OFFICIAL, 165 = HUD_COLOUR_SCRIPT_VARIABLE_2, 166 = HUD_COLOUR_H, 167 = HUD_COLOUR_HDARK, 168 = HUD_COLOUR_T, 169 = HUD_COLOUR_TDARK, 170 = HUD_COLOUR_HSHARD, 171 = HUD_COLOUR_CONTROLLER_MICHAEL, 172 = HUD_COLOUR_CONTROLLER_FRANKLIN, 173 = HUD_COLOUR_CONTROLLER_TREVOR, 174 = HUD_COLOUR_CONTROLLER_CHOP, 175 = HUD_COLOUR_VIDEO_EDITOR_VIDEO, 176 = HUD_COLOUR_VIDEO_EDITOR_AUDIO, 177 = HUD_COLOUR_VIDEO_EDITOR_TEXT, 178 = HUD_COLOUR_HB_BLUE, 179 = HUD_COLOUR_HB_YELLOW, 180 = HUD_COLOUR_VIDEO_EDITOR_SCORE, 181 = HUD_COLOUR_VIDEO_EDITOR_AUDIO_FADEOUT, 182 = HUD_COLOUR_VIDEO_EDITOR_TEXT_FADEOUT, 183 = HUD_COLOUR_VIDEO_EDITOR_SCORE_FADEOUT, 184 = HUD_COLOUR_HEIST_BACKGROUND, 185 = HUD_COLOUR_VIDEO_EDITOR_AMBIENT, 186 = HUD_COLOUR_VIDEO_EDITOR_AMBIENT_FADEOUT, 187 = HUD_COLOUR_GB, 188 = HUD_COLOUR_G, 189 = HUD_COLOUR_B, 190 = HUD_COLOUR_LOW_FLOW, 191 = HUD_COLOUR_LOW_FLOW_DARK, 192 = HUD_COLOUR_G1, 193 = HUD_COLOUR_G2, 194 = HUD_COLOUR_G3, 195 = HUD_COLOUR_G4, 196 = HUD_COLOUR_G5, 197 = HUD_COLOUR_G6, 198 = HUD_COLOUR_G7, 199 = HUD_COLOUR_G8,
- --200 = HUD_COLOUR_G9, 201 = HUD_COLOUR_G10, 202 = HUD_COLOUR_G11, 203 = HUD_COLOUR_G12, 204 = HUD_COLOUR_G13, 205 = HUD_COLOUR_G14, 206 = HUD_COLOUR_G15, 207 = HUD_COLOUR_ADVERSARY, 208 = HUD_COLOUR_DEGEN_RED, 209 = HUD_COLOUR_DEGEN_YELLOW, 210 = HUD_COLOUR_DEGEN_GREEN, 211 = HUD_COLOUR_DEGEN_CYAN, 212 = HUD_COLOUR_DEGEN_BLUE, 213 = HUD_COLOUR_DEGEN_MAGENTA, 214 = HUD_COLOUR_STUNT_1, 215 = HUD_COLOUR_STUNT_2
- Settings.LobbyColor1 = 2
- Settings.LobbyColor2 = 11
- --Turn on the visibility of empty slots?
- Settings.useLobbyVisibilityEmptySlots = true
- --The number of visible slots (Does not affect the allowed slots in the lobby)
- Settings.maxPlayersLobbyVisibilityEmptySlots = 4
- --Do you want to use cooldown?
- Settings.useQuestCooldown = true
- -- Do you want to use the menu UI ? (only if Settings.useLobbySystem = false)
- Settings.UIMenu = true
- -- Do you want to use the UI of the end?
- Settings.UIEnd = true
- -- Do you want to see a UI with an active task?
- Settings.UIActiveQuestRight = true
- -- Do you want to use audio at the start of the quest?
- Settings.UseAudioStart = true
- Settings.audioNameStart = "HUD_AWARDS" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
- Settings.audioRefStart = "COLLECTED" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
- -- Do you want to use audio at the start of the quest?
- Settings.UseAudioEnd = true
- Settings.audioNameEnd = "HUD_AWARDS" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
- Settings.audioRefEnd = "TENNIS_POINT_WON" -- Use only with Settings.UseAudio = true (Sound: https://pastebin.com/DCeRiaLJ)
- -- Freezes the Task Ped in place
- Settings.FreezTaskPed = true
- -- Includes Godmode for Task Pad
- Settings.GodModTaskPed = true
- -- Use a level system
- Settings.levelSystem = true
- Settings.levelSystemLevelDefinitions = false
- -- Use command to check the level
- Settings.UseCommandChecklevelSystem = true
- -- Name of the team to check the level
- Settings.CommandChecklevelSystem = "level"
- -- Delay in sending/updating database-related events. Recommended 0.2 or 0.5 sec
- -- Settings.delayDatabase = 100 * 2 --0.2 sec.
- -- This parameter outputs the received information for the player from the server to the client console. Settings.levelSystem and Settings.QuestProgress must be true !
- Settings.retrieveDataServerDebug = false
- -- This parameter is responsible for whether the animation of the quest NPC will be interrupted at the moment when the player enters the interaction zone (With item animations it will lead to spam) (It may not work correctly on some systems)
- Settings.questNPCPaysAttentionToThePlayer = false
- --Do you want to use the opportunity to cancel the quest?
- Settings.UseStopEventQuest = true --Do you want the event to cancel the quest to be active?
- Settings.UseStopEventQuestCommand = true --Do you want to use the command to cancel the quest? It will work if Settings.UseStopEventQuest = true
- Settings.CommandStopEventQuest = "Burevestnik_quest_stop" --Command to stop the quest. It will work if Settings.UseStopEventQuest = true
- Settings.QuestProgress = true --Saving the progress of the quest.
- Settings.QuestProgressConvertingSavingDataBeforeRestart = false --If true, it saves information about completed quests only until the resource is restarted.
- --Translation
- Settings.TranslationTime = "~r~Now is not the time!"
- Settings.TranslationInteractionButton = "Press ~INPUT_CONTEXT~ to interact with ~o~"
- Settings.NoAccess = "You don't have access!"
- Settings.NoReqJobOnline = "There is not enough player with the required job to start the quest"
- Settings.Reward = "REWARD!" --Will be displayed if Settings.UIEnd = false
- Settings.QuestInteractionButton = "Press ~INPUT_CONTEXT~ to ~g~interact~s~"
- Settings.NoItem = "You dont have an item"
- Settings.NoLevel = "~r~Your level is too small!"
- Settings.NoLevel2 = "~r~Players only with the requested level can start"
- Settings.Requiredlevel = "Required level: "
- Settings.YourLevel = "Your level: "
- Settings.Experience = "Your experience: "
- Settings.OnQuest = "You are already on the quest!"
- Settings.OnCooldown = "This quest is in cooldown!"
- Settings.BurevestnikInteractionButton = "E"
- Settings.BurevestnikInteractionButtonText = "Press to interact with the quest"
- Settings.BurevestnikInteractionButtonText2 = "Press to interact"
- Settings.QuestProgressDone = "~g~You have already passed this quest!"
- Settings.LostQuestItem = "~r~The quest comes to an abrupt halt as you have misplaced an essential item!"
- Settings.NoItemToStart = "~r~You lack the necessary item to initiate the quest!"
- Settings.BeforePlayerBucketSet = "BEFORE PLAYER BUCKET SET: "
- Settings.AfterPlayerBucketSet = "AFTER PLAYER BUCKET SET: "
- Settings.BeforePlayerBucketReturn = "BEFORE PLAYER BUCKET RETURN: "
- Settings.AfterPlayerBucketReturn = "AFTER PLAYER BUCKET RETURN: "
- Settings.LobbyQuestLobbyText = "Quest: "
- Settings.LobbyQuestLobbyCategory1 = "Options"
- Settings.LobbyQuestLobbyCategory2 = "Players"
- Settings.LobbyQuestLobbyCategory3 = "Quest details"
- Settings.LobbyID = "Lobby ID:"
- Settings.LobbyStoryType = "Story type:"
- Settings.LobbyMoneyRewards = "Money rewards:"
- Settings.LobbyMoneyRewardsSymbol = "~g~$"
- Settings.LobbyItemRewards = "Item rewards:"
- Settings.LobbyItemRewardsSymbol = "~y~"
- Settings.LobbyStartQuest = "Start quest"
- Settings.LobbyLeave = "Leave lobby"
- Settings.LobbyEmptySlots = "Empty Slot"
- Settings.LobbyNameError = "ERROR"
- Settings.LobbyInvitePlayer = "Invite player"
- Settings.LobbyInviteEnterPlayerId = "Enter the player ID for the invitation"
- Settings.LobbyInviteRequestEnter = "Enter 'YES' to accept the invitation to the quest lobby: "
- Settings.LobbyInviteRequestKeyWord = "YES" --It should only be in uppercase!
- Settings.menuUIText1 = "Description:"
- Settings.menuUIText2 = "Tasks:"
- Settings.menuUIText3 = "Rewards:"
- Settings.menuUIText4 = "$"
- Settings.menuUIText5 = "ENTER"
- Settings.menuUIText6 = "Press to start"
- Settings.menuUIText7 = "ESC"
- Settings.menuUIText8 = "Press to close"
- Settings.EndUIText1 = "Congratulate!"
- Settings.EndUIText2 = "Task completed"
- Settings.EndUIText3 = "ESC"
- Settings.EndUIText4 = "Press to continue"
- --Blip
- Settings.UseBlipCategory = false --Use categories for blips. More here: https://docs.fivem.net/natives/?_0x234CDD44D996FD9A
- Settings.UseBlipsForAllPed = true
- Settings.BlipName = "Tasks" --Blip text
- Settings.BlipScale = 0.8 --Blip scale
- Settings.BlipColour = 7 --Blip colour
- Settings.BlipSprite = 66 --Blip sprite
- --Marker
- Settings.UseMarker = true --Do you want to use a marker ?
- Settings.MarkertDist = 5.0
- Settings.MarkertType = 0 --Marker type
- Settings.MarkertBob = true
- Settings.MarkertRotate = false
- Settings.MarkertR = 50 --Marker colour R
- Settings.MarkertG = 255 --Marker colour G
- Settings.MarkertB = 0 --Marker colour B
- Settings.MarkertSize = vector3(0.4, 0.4, 0.4) --Marker size
- --Interaction Marker instead of Ped; This can increase ms at the time of interaction; Use this parameter if there is a parameter in all your quests ["UseSpawnPed"] = false; If you have a marker in the air, lower the z coordinate at the position by 1
- Settings.QuestInteractMarkers = false --Do you want to use a marker ?
- Settings.QuestInteractMarkerType = 1 --Marker type
- Settings.QuestInteractMarkerSizeX = 0.5 --Marker size X
- Settings.QuestInteractMarkerSizeY = 0.5 --Marker size Y
- Settings.QuestInteractMarkerSizeZ = 0.5 --Marker size Z
- Settings.QuestInteractMarkerColourR = 122 --Marker colour R
- Settings.QuestInteractMarkerColourG = 195 --Marker colour G
- Settings.QuestInteractMarkerColourB = 254 --Marker colour B
- Settings.QuestInteractMarkerColourA = 100 --Marker colour A
- --Setting up the quest text
- Settings.TextScale = 0.4 --Text scale
- Settings.TextSize = 0.4 --Text size
- Settings.TextFont = 0 --Text font (0 - ChaletLondon | 1 - HouseScript | 2 - Monospace | 4 - CharletComprimeColonge | 7 - Pricedown)
- Settings.TextColourR = 255 --Text colour R
- Settings.TextColourG = 255 --Text colour G
- Settings.TextColourB = 255 --Text colour B
- Settings.TextColourA = 215 --Text colour A
- Settings.TextDropShadowColourDistance = 0 -- Shadow distance in pixels, both horizontal and vertical.
- Settings.TextDropShadowColourR = 0 --Text shadow colour R
- Settings.TextDropShadowColourG = 0 --Text shadow colour G
- Settings.TextDropShadowColourB = 0 --Text shadow colour B
- Settings.TextDropShadowColourA = 255 --Text shadow colour A
- Settings.TextDropEdgeColourDistance = 1 -- Edge parm (It is better not to change).
- Settings.TextDropEdgeColourR = 0 --Text edge colour R
- Settings.TextDropEdgeColourG = 0 --Text edge colour R
- Settings.TextDropEdgeColourB = 0 --Text edge colour R
- Settings.TextDropEdgeColourA = 255 --Text edge colour R
- --Global Settingsuration of Aggressive Peds
- Settings.AggressivePedCount = 0 --Counts the number of aggressive NPCs created (DO NOT CHANGE THIS PARAMETER!)
- Settings.AggressivePedNecessaryTarget = true --If true, then without destroying all aggressive peds, you will not be able to move to the next stage in the quest
- Settings.AggressivePedUseBlip = true --Do you want to use blips on aggressive peds?
- Settings.AggressivePedBlipName = "Enemy" --Blip text
- Settings.AggressivePedBlipScale = 0.8 --Blip scale
- Settings.AggressivePedBlipColour = 1 --Blip colour
- Settings.AggressivePedBlipSprite = 458 --Blip sprite
- Settings.AggressiveHelicopterBlipSprite = 422 --Blip sprite
- Settings.AggressiveHelicopterBlipColour = 1 --Blip colour
- Settings.AggressiveVehicleBlipSprite = 665 --Blip sprite
- Settings.AggressiveVehicleBlipColour = 1 --Blip colour
- Settings.AggressivePedSpawnRadiusMax = 10.0 --The max spawn radius of the aggressive ped from the specified coordinates
- Settings.AggressivePedSpawnRadiusMin = -10.0 --The min spawn radius of the aggressive ped from the specified coordinates
- --Setting up a destination point
- Settings.PurpleQuestWayPointBlip = 0 --Waypoint marker unique id (DO NOT CHANGE THIS PARAMETER!)
- Settings.QuestWayPointBlip = 0 --Destination blip unique id (DO NOT CHANGE THIS PARAMETER!)
- Settings.QuestWayPointBlipName = "Direction" --Blip text
- Settings.QuestWayPointBlipScale = 0.8 --Blip scale
- Settings.QuestWayPointBlipColour = 15 --Blip colour
- Settings.QuestWayPointBlipSprite = 271 --Blip sprite
- --This parameter outputs the player's session number to the server console. Settings.SeparateSessionDebug must be true !
- Settings.SeparateSessionDebug = false
- --Do you want to send the player to a separate session at the beginning of the quest, and return to the main one after the end of the quest?
- Settings.SeparateQuestSession = false
- --Will make the starting ped visible only to the current player.
- Settings.SetStartPedLocallyVisible = true
- --If true and in quest stage player will lost req item then quets will imidiatly stop (You must have enbaled parametr ["reqItemName"] in quest stages)
- Settings.StopQuestIfPlayerLostReqItem = false
- --This is the module responsible for the ability to play custom audio tracks. You must have purchased Sound DLC: https://burevestnik.tebex.io/package/5996112
- Settings.UseBurevestnikSoundDLC = false
- --Use Discord Webhooks to send messages about completing quests.
- Settings.UseDiscordWebhooks = false
- --Send a webhook when the quest has been completed.
- Settings.UseDiscordWebhooksWhenQuestHasBeenCompleted = true
- Settings.WebhooksWhenQuestHasBeenCompletedData = { --WebHook data.
- 32768, --DECIMAL color.
- "🚀 Burevestnik Quest System", --Bot name.
- "✅ The quest was completed", --WebHook title.
- "The player with the server ID: ", --WebHook description #1.
- " has successfully completed the quest: ", --WebHook description #2.
- "Made by Burevestnik" --WebHook footer.
- }
- --Send a webhook when the quest has been cancelled.
- Settings.UseDiscordWebhooksWhenQuestHasBeenCanceled = true
- Settings.WebhooksWhenQuestHasBeenCanceledData = { --WebHook data.
- 11674146, --DECIMAL color.
- "🚀 Burevestnik Quest System", --Bot name.
- "❌ The quest has been cancelled", --WebHook title.
- "The player with the server ID: ", --WebHook description #1.
- " cancelled the quest", --WebHook description #2.
- "Made by Burevestnik" --WebHook footer.
- }
- --Dicord webhook URL
- Settings.DiscordWebhooksURL = ''
- --Do you want to use key issuance?
- Settings.vehicleKeyIssuance = false
- --The function of issuing keys to the vehicle
- Settings.giveKeyFromVehicleToPlayer = function(vehicle)
- local _vehicle = vehicle
- --QBCore
- -- TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', QBCore.Functions.GetPlate(_vehicle))
- -- TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(_vehicle))
- print('You have received the car key: ' .. _vehicle)
- end
- --Do you want to use an additional custom quest check?
- Settings.additionalCustomQuestCheck = false
- --Text notification for additional custom quest check
- Settings.textNotificationAdditionalCustomQuestCheck = 'blocking access during additional verification of quest'
- --The function of additional custom verification of the quest.
- --important! The function must strictly return 'true' if it is possible to start and 'false' if not.
- --Parameters: questInfo - allows you to get the parameters of the quest condition, like questInfo["questID"]
- --taskId - returns the name of the quest, like "Pills"
- Settings.customQuestCheckRequirements = function(questInfo, taskId)
- local _questInfo = questInfo
- local _taskId = taskId
- local questCondition = true
- return questCondition
- end
- --Global settings of the ["timer"] module
- Settings.TimerUseNative = false
- Settings.TimerText = "Time remaining: "
- Settings.TimerTextMinutes = "min."
- Settings.TimerTextSeconds = "sec."
- Settings.TimerTextPlural = ""
- Settings.TimerTextColon = ":"
- Settings.timerEndActions = function()
- TriggerEvent("Burevestnik_quest:stop") --This event will stop the quest
- end
- --This is the module responsible for the ability to launch the pizza delivery DLC. You must have purchased this DLC: https://burevestnik.tebex.io/package/6421978
- Settings.UseBurevestnikPizzaRunDLC = false
Add Comment
Please, Sign In to add comment