Exports
Exports are used to enable the useage of functions on a global scope.
Refill Flares
Use this export to create a refill station in a third-party script.
exports['snd_GMW-Flares']:RefillFlares(entity)
- entity:
number
example:
RegisterCommand('refillFlares', function()
exports['snd_GMW-Flares']:RefillFlares(entity)
end, false)
⚠️
Please be aware that to be able to use this export you can't change the name of the script!