Exports (client)
Enable
Enable/disable the ability to interact with the script functions for a single client.
Parameters:
enable - bool
- true to enable, false to disable
Example for ESX and enabling it for a single job:
First open the config.lua
and set the option defaultEnabled
to false. This will disable the script for everyone. After that you can enable the script via code:
Last updated