cfx-server-data
cfx-server-data copied to clipboard
Debug and type check
Added the debug option to help users debug the returns if left blank nothing is printed set to true will enable it to pint back. Added the type check to stop the JS getting a error on line 6 as it doesn't return the real script creating the error, this stops the chat script no longer showing any suggestions.
This could be changed a little more to make sure the table is wrapped in a table but I didn't add this myself it was just a basic check.