Studios
Engine Soundshouse-3.jpg

Commands & Exports

SoonEngine SoundsStandalone
PAGE 06 OF 06  ·  TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

Commands#

The test command is disabled by default. Set Config.TestCommand = true, grant command.enginesound, sit in a vehicle, then run /enginesound demo_zentorno or /enginesound clear. Turn it off after setup.

Client exports#

Export signature Implementation in your package
ApplyToVehicle(veh, name) client/apply.lua

Server exports#

Export signature Implementation in your package
SetVehicleSound(netId, name) server/main.lua

Shared exports#

Export signature Implementation in your package
GetPack(name) shared/sounds.lua
GetPacks() shared/sounds.lua
IsInstalled(name) shared/sounds.lua