Installation
Get see_lib and its prerequisites running, then load it from your own resources.
Get see_lib and its prerequisites running, then load it from your own resources.
Download see_lib
Grab the latest build from your Tebex account or from portal.cfx.re (Assets), then drop the see_lib folder into your server's resources directory.
Add the prerequisite
see_lib needs oxmysql started before it.
Check Lua 5.4
see_lib runs on Lua 5.4 — already set in its manifest.
Start in order
Add everything to your server.cfg, with the bridge and oxmysql before see_lib.
ensure oxmysql
ensure see_libOrder matters: oxmysql must start before see_lib. Starting see_lib first will error out.
In your resource's fxmanifest.lua, depend on see_lib and load its entry point:
dependencies {
'see_lib',
}
shared_script '@see_lib/init.lua'Everything is then available under the lib global, on the client and the server:
lib.notify({ type = 'success', content = 'see_lib loaded' })Multi-framework support is built in — see Bridge once you're up and running.