diff --git a/shared/js/compatibility/enums.js b/shared/js/compatibility/enums.js new file mode 100644 index 000000000..ccba12749 --- /dev/null +++ b/shared/js/compatibility/enums.js @@ -0,0 +1,8 @@ +/// +/// +/// +// import * as alt from "@altv/shared"; + +for (const enumName in alt.Enums) { + cppBindings.registerCompatibilityExport(enumName, alt.Enums[enumName]); +}