Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
CodeM Trading Script (ESX/QB)

Description

mTrade by CodeM is a trade script for ESX and QBCore that lets two players exchange items and money through a trade window.

Features

  • Trade requests with the /trade [player ID] command (command name configurable)
  • The other player accepts with Y or rejects with N (keys configurable)
  • Trade window UI with accept and decline buttons
  • Option for servers that use money as an item (Config.MoneyItems)
  • Editable UI texts and notification messages in config/config.lua
  • Discord webhook setting in config/server_config.lua
  • Config, client, server and framework files are open, so you can edit them

Requirements

  • ESX, old QBCore or new QBCore (set Config.Framework to esx, oldqb or newqb)
  • oxmysql, mysql-async or ghmattimysql (Config.Mysql)
  • OneSync enabled

Installation

  • Copy the codem-trade folder into your resources folder.
  • Set your framework, MySQL resource and command in config/config.lua.
  • Optionally add your Discord webhook in config/server_config.lua.
  • Add ensure codem-trade to your server.cfg.

Related resources

All resources →