GFX Development
  • gfx
    • About GFX
  • Product Docs
    • 📥GFX All in One Menu
      • 🛠️Setup
        • ⚙️Configuration
        • 📝Setting Permissions
      • 📒Informations
        • 💻For Developers
        • 👨‍💻Admin Commands
      • 🖇️Pages
        • 📄Profile
        • 📄Leaderboard
    • 🏎️GFX Racing
      • 🔨Installation
      • ⚙️Configuration
    • 📸GFX Deathcam
      • 🔨Installation
      • GFX Deathcam V1
        • ⚙️Configuration
      • GFX Deathcam V2
        • ⚙️Configuration
    • 📊GFX Leaderboard
      • 🔨Installation
      • ⚙️Configuration
    • ⚔️GFX Arena
      • 🔨Installation
      • ⚙️Configuration
    • 👨‍👨‍👦‍👦GFX Squad
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports
    • 🔬GFX Evidence
      • 🔨Installation
      • ⚙️Configuration
    • ❗GFX Notification
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports and Events
        • ⬆️Exports
        • ⬇️Events
    • 🚚GFX Delivery
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Tebexshop
      • 🔨Installation
      • ⚙️Configuration
      • ⚠️Tebex Settings
      • ⬆️Exports
    • 👁️‍🗨️GFX Interact
      • 🔨Installation
      • ⬆️Exports
    • 🫂GFX Crew
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🫂GFX Squad Remake
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX PVP Chat
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX HUD
      • 🔨Installation
      • ⚙️Configuration
    • 🔫GFX Attachment
      • 🔨Installation
      • ⚙️Configuration
    • 💀GFX Deathlog
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX PVP Shop
      • 🔨Installation
      • ⚙️Configuration
    • 🧱GFX Crafting
      • 🔨Installation
      • ⚙️Configuration
    • 🚍GFX Bus Job
      • 🔨Installation
      • ⚙️Configuration
    • 🐔GFX Chicken Farm
      • 🔨Installation
      • ⚙️Configuration
    • 🎁GFX Giveaway
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Pawnshop
      • 🔨Installation
      • ⚙️Configuration
    • 🪵GFX Lumberjack
      • 🔨Installation
      • ⚙️Configuration
    • 🚙GFX Secondhand Vehicle
      • 🔨Installation
      • ⚙️Configuration
    • 🤖GFX Autopilot
      • 🔨Installation
      • ⚙️Configuration
    • 🗳️GFX Vote
      • 🔨Installation
      • ⚙️Configuration
    • 🟢GFX Safezone
      • 🔨Installation
      • ⚙️Configuration
    • 🎅GFX Christmastruck
      • 🔨Installation
      • ⚙️Configuration
    • 🚔GFX Handcuff
      • 🔨Installation
      • ⚙️Configuration
    • 🚚GFX Trucker Job
      • 🔨Installation
      • ⚙️Configuration
    • 🌱GFX Weed
      • 🔨Installation
      • ⚙️Configuration
    • 🔉GFX DUI Radio
      • 🔨Installation
      • ⚙️Configuration
Powered by GitBook
On this page
  1. Product Docs
  2. GFX Crew

Configuration

Check the instructions below.

• Don't change fatal index unless you know what you are doing. Check the warning below.

Config.FatalIndex = 4-- 4 or 6

• Activate or disable the nametags and healthbars shown above the crew members characters.

Config.GamerTags = true -- true or false

• Activate or disable the friendly fire between crew members.

Config.FriendlyFire = false -- true or false

• Activate or disable the crew member blips on game map.

Config.MemberBlips = false -- true or false

• You can set menu open command

Config.OpenMenu.command.command = "crew" -- any string

Fatal index must be 4 or 6. This index is changing depend on your server build. We don't know which build supports which index but if the script does not work without any errors, try to change the index to 4 or 6.

• Set the SQL script you are using at your server

Config.SQLScript = "oxmysql", -- "oxmysql", "ghmattimysql", "mysql-async"

• Set the image shwon when an image could not be found

Config.NoImage = "image_link"

• Set the refresh time in minutes for leadearboard

Config.LeaderboardRefreshTime = 5

• You can make only permitted players can create crew. Set it false for making it public.

Config.AbleToCreate = {
    ["steam:xxx or license:xxx"] = true,
}

or

Config.AbleToCreate = false -- everyonee can create crew

Reducing the refresh time can cause lag problems.

• You can add more badges as you want here is the badge template

{
   id = 1,
   image = 'badges/kill10.png', -- also can be an image link
   label = '10 Kills',
   killCount = 10 -- this can be nil check the info below
}, 

The killCount parameter is for only getting the badges by the crews stat system. You can add different types of badges like however you want with AddBadgeToMember export. You can check it on Exports

Set Weapon Datas

[weaponHash] = {
   label = "Weapon Label",
   image = "image_link",
},

Example

[-1569615261] = {
   label = "Fist",
   image = "https://cdn.discordapp.com/attachments/933867638902362153/1218494493083570217/image.png?ex=662cc86d&is=661a536d&hm=aa8b4ff7b93a7d40810b5ee0f379c760a56674c92abc69490b605f5ee98d7891&", --
},
[`weapon_assaultrifle`] = {
   label = "Assault Rifle",
   image = "https://cdn.discordapp.com/attachments/933867638902362153/1218494493083570217/image.png?ex=662cc86d&is=661a536d&hm=aa8b4ff7b93a7d40810b5ee0f379c760a56674c92abc69490b605f5ee98d7891&", --
},

PreviousInstallationNextExports

Last updated 1 year ago

🫂
⚙️