Built by Codesign for FiveM Developers
Devtools is a simple yet useful LUA / JSON table viewer for development purposes, as well as a 1 click script restart.
It allows developers to view tables in a JSON format, sort and search through them with ease or view them as LUA tables.
Devtools include a simple way to copy a table in order to move it to some external text editor or work environment.
Take a look at the preview to see more.
Simply trigger the event below, sending a LUA table in the first argument.
The UI will only open when you trigger the event.
This event can be placed in while loops and the displayed table will be updated (yes it will be high ms on resmon when in a loop but this is a developer resource for dev servers).
If you close the UI, it can only be reopened by triggering the event again.
You can disable the NUI focus by clicking
middle mouse button while the UI is still open, and the UI will stay on your screen even while you are triggering the event.
From server to client -
TriggerClientEvent('table', source, TABLE_HERE)
From client to client -
The purpose of this feature is to be able to quickly restart scripts when developing and debugging. To save a script to restart you can use the chat command below to save your chosen script.
Part 1: Use the chat command
/restart_script "script_name" to save the name of your chosen script in the
restart_script.txt file and cache it in the server side. Now when you start your server or restart the script you can simply press the
(numpad +) key to restart the script.
/restart_script <script name>- (Example
Save the name of a script to use in the quick restart keypress.
The example command will save the resource “cd_garage”.
Check out our Documentation Website which includes the installation guide, “how-to” guides, common issues, debugging guide, and a full preview of all of the configs and locales/translations.
You can also check out our FiveM Forum Post to view some of the Configurable Files and Locales, Customer Feedback, and Frequently Asked Questions.
All Support is handled through the Codesign Discord Server.