[PAID] OCT_CLHUD | Most advanced PVP HUD | ALL IN ONE

A script by ZypMert

No reviews yet.
[PAID] OCT_CLHUD | Most advanced PVP HUD | ALL IN ONE main image

Price

Unknown

Full Description

OCT CL HUD

FEATURES

  • Included Killfeed
  • Included Squad System
  • Included Level System
  • Enable/Disable Death Count by other then Player Kills
  • Enable/Disable XP For Kills
  • Changeable Language Weapon Display
  • Changeable Language
  • Notify Trigger
  • Admin Command for Timer Start on Events (Configurable Groups)
  • Loading Bar
  • Announce Command with self set durations (Configurable Groups)
  • Point System

INFORMATIONS

Config-File
  • This is only a Example the Script includes a Pre Config for Start and Play
  • Price Changes needed to fit to your Server
Config = {
    -- language
    weaponTranslations = 'German', -- available: German, Spanish, Russian, Japanese, SimplifiedChinese, TraditionalChinese, Korean, Portuguese, Mexican, Polish, Italian, English, French

    -- xp
    killxp_enabled = true, --enable xp/level system?
    xp_per_kill = 100, -- how much xp should each kill give
    xp_for_level = 250, -- xp needed for first level (after that it is xp_for_level * (1 + xp_multiplier))
    xp_multiplier = 0.10, -- increases the xp needed per level by 10% each level

    -- hud options
    enable_points = true, -- do you want to use the points display? you can change tha value via this event: oct_clhud:updatePoints -> example: TriggerEvent('oct_clhud:updatePoints', 'TextHere')
    enable_timeleft = true, -- do you want to use the Time Left display?
    enable_MapHealthBar = true, -- do you want to use the health and armour bar below the minimap?
    enable_hudHealth = true, -- do you want to use the health and armour bar that comes with the hud?

    --kill config
    countAllKills = true, -- do you want that deaths are only counted when you are killed (false) or always (true)

    -- command permissions
    AnnounceGroups = {
        'admin', 
        'superadmin',
        'moderator'
    },

    TimerGroups = {
        'admin', 
        'superadmin',
        'moderator'
    }
}

Config.Language = {
    teaminvite_canceled_title = 'Team invitation canceled',
    teaminvite_accepted_title = 'Team invitation accepted',
    teaminvite_denied_title = 'Team invitation declined',
    teaminvite_accepted_msg = 'The player with ID %s has joined your team',
    teaminvite_denied_msg = 'The player with ID %s declined your invitation',
    teaminvite_err_offline = 'The player with ID %s is not online',
    teaminvite_err_selfinvite = 'You can\'t invite yourself',
    teaminvite_err_isinteam = 'The player with ID %s is already on a team',
    teaminvite_err_teamfull = 'Your team is full',
    teaminvite_request_title = 'Team invitation',
    teaminvite_request_msg = 'Would you like to join %s\'s team? (/leaveteam to leave)',
}
README FILE

installation:

  1. drag the resource into your resources folder
  2. start it in the server.cfg (type start oct_clhud)
  3. configure the config.lua to your liking
  4. if you want to replace all you notification with those of the hud, replace the following in your es_extended resource (client/functions.lua):
    function ESX.ShowNotification(message, type, length)
        if GetResourceState("esx_notify") ~= "missing" then
            return exports["esx_notify"]:Notify(type, length, message)
        end

        print("[^1ERROR^7] ^5ESX Notify^7 is Missing!")
    end

with this:

    function ESX.ShowNotification(message, type, length)
        exports['oct_clhud']:notify('Notification', message or 'no message given', length or 5000)
    end
  1. If any help is needed, open a ticket on the oct discord

exports:
client side:
- notification:
exports[‘oct_clhud’]:notify(‘Title’, ‘Message’, 5000) ← 5000 is the duration (5 secs)

    - request: 
        exports['oct_clhud']:request('Title', 'Message', 10000, function(accepted) <- 10000 is the duration (10 secs) and the function gets called after the request has been answered
            print(accepted)
        end)
    
    - progress: 
        exports['oct_clhud']:progress(10000, 'Text', function() <- 10000 is the duration (10 secs) and the function gets called after the progressbar has ended

        end)

        if you dont want a callback you can do:
        exports['oct_clhud']:progress(10000, 'Text')

server side:
    - announcement:
        exports['oct_clhud']:announce('Title', 'Message', 5000) <- 5000 is the duration (5 secs)

    - timer:
        exports['oct_clhud']:hudtimer(minutes), example: exports['oct_clhud']:hudtimer(10) <- Countdown from 10 minutes

commands:
/teaminvite
/leaveteam
/announce <?duration>
/hudtimer

TEBEX-SHOP

Code is accessible No/Only Frontend
Subscription-based No
Lines (approximately) ~1300 Frontend ~700 Backend ~3000 Language
Requirements ESX
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily