Core script made for our resources.
To install WIX CORE, follow these steps:
- Download the latest release from the releases page.
- Extract the downloaded files into your resources folder.
- Make sure the resource is called
wix_core. - Add
ensure wix_coreto yourserver.cfgfile.
The wix_core script is designed to support multiple frameworks, inventory systems, notification methods, and anticheats. If you miss any scripts feel free to make a pull request or message me on discord to add them. Below is a list of supported options:
- ESX Inventory
- OX Inventory
- QB Inventory
- Auto Detection (Automatically detects the installed inventory system)
- ESX Notification
- OX Notification
- QB Notification
- Tgiann Lumi Hud
- Chat Notification (Uses the default FiveM chat)
- Auto Detection (Automatically detects the installed notification system)
exports['wix_core']:Notify('Test Title', 'This is a test message', 'success')exports['wix_core']:Debug('ERROR/INFO/EXPORTS/RESOURCES', 'Problem found.')exports['wix_core']:UpdateChecker(GetResourceMetadata(GetCurrentResourceName(), 'version', 0))
exports['wix_core']:AddItem(playerId, item, amount)
exports['wix_core']:RemoveItem(playerId, item, amount)
exports['wix_core']:CanCarryItem(playerId, item, amount)
exports['wix_core']:RegisterUseableItem(item, callback)
exports['wix_core']:Ban(playerId, reason)
exports['wix_core']:AddMoney(playerId, account, amount)
exports['wix_core']:RemoveMoney(playerId, account, amount)
exports['wix_core']:GetMoney(playerId, account)
exports['wix_core']:SetMoney(playerId, account, amount)- This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
- You may not sell this script or redistribute it without providing the source code.
- Modifications must retain original credits and use the same license (GPLv3).
