Enables built-in "altv-enums" module that exports enums from alt-shared, alt-server, alt-client.
To use it, you first need to add altv-enums to tsconfig typeRoots as follows:
"typeRoots": [
"./node_modules/altv-esbuild/altv-enums/types",
],
And disable isolatedModules so that your code editor does not complain when using enums from this module.
false
by default.
Enables alt:V or GTA bug fixes.
true
by default.
Enables dev mode and hot reload if not disabled.
(some cleaning stuff on resource stop, such as destroying vehicles or clearing all metadata set by resource, players reconnect emulation, etc.).
false
by default.
Generated using TypeDoc
Import alt-client, alt-server, etc. as normal ES modules and export them using default export.
Temp fix for high memory usage.
false
by default.