AddFile
From Onset Developer Wiki
Description
Registers a (client) file to this package.
This function only works in the index.lua script.
Syntax
AddFile(file)
Parameters
- file
The client file to register. Wildcards (*) are supported.
Return Value
- Returns true on success.
Example
--index.lua
AddFile("audio/sound.mp3")
AddFile("ui/*.html")