wrenchConfiguration

Here you can take a look at our config file for NEX Groups.

Config

Config = {}

Config.Framework = 'qbx' -- 'qbx', 'qb', 'esx'

Config.MaxMembers = 4 -- Maximum members in a group

Config.Open = {
    Command = {
        Enabled = true,
        Name = "groups",
    },
    Keybind = {
        Key = "F4",
    }
}

Config.Locales = {
    ui = {
        create = "Create",
        groups = "Groups",
        group_name = "Group name:",
        group_input_placeholder = "Enter your group name",
        create_group_btn = "Create group",
        no_groups_available = "No groups available, maybe create one?",
        member = "Member",
        members = "Members",
        owner = "Leader",
        accepted = "Member",
        pending = "Pending"
    },
    game = {
        nameLenght = "Group name must be atlest 4 letters long",
        requestSent = "You sent a request",
        cantSentRequest = "You cant send a request now",
        waitForRequest = "Wait before you can send another request",
        alreadyInGroup = "You are already in group",
        alreadysentRequest = "You already sent a request",
        noGroup = "Group doesnt exist",
        fullGroup = "The Group is full",
        leaderNotify = "Someone sent a invite request",
        requestAccepted = "You are accepted in the group",
        requestDenied = "Your request is denied",
        kickedGroup = "You are kicked from the group",
        leftGroup = "You left the group",
        leftGroupLeader = "Someone left the group",

    }
}

function Notification(message, type)
    lib.notify({
        title = 'Notify',
        description = message,
        type = type
    })
end

Last updated