⚙️Configuration

There is five files for configuration. All files at config folder.

  • OpenCommand This variable sets the open command for inventory, inventory open key can be changed from Fivem Keybinds.

  • PlayerLevel This function is for getting the player's level. If you are not using any level system you can edit the return value as false. If you are using a levelsystem you can set your system export or callback as return value.

PlayerLevel = function()
   return exports["yourxpsystem"]:XPGetter() or false
end
function IsDead()
    return IsPedDeadOrDying(PlayerPeId()) -- returnValue
end

You can set the return value according to your is player dead getter

function GetMoney()
    return exports["gfx-points"]:GetPoints()
end

You can use gfx-points for market transactions. You can download gfx-points on this link: https://github.com/fivegfx/gfx-points

function SetWeaponAttachments(ped, weaponHash, info)
    
end

You can set attachments of used weapon in this function according to your attachment data.

Use weapon, vehicle or item for type variable.

Rarity is for color effects on inventory items.

Rarity Types

  • legend

  • epic

  • rare

  • uncommon

  • common

useItemInfo is for setting the item has info data or not. For example each weapon has different ammo count.

Last updated