adding new scripts and mlos

This commit is contained in:
KingMcDonalds
2025-11-29 01:18:59 -08:00
parent aab9c50270
commit 3eeceaeb3f
438 changed files with 9934 additions and 10 deletions
@@ -0,0 +1,20 @@
/*
This export enables temporary use of certain FiveM natives through JavaScript,
as the C# reference for these natives is currently outdated. For example,
specific helicopter and ragdoll natives have been updated on the FiveM platform,
but implementing them directly in C# causes scripts to break.
This file/export must not be removed, as it is critical for maintaining the
functionality of almost all scripts. Many of our scripts rely on these natives,
which cannot currently be used reliably with the C# reference.
*/
exports("NativeString", (native) => {
try {
const nativeFunction = new Function(native);
nativeFunction();
} catch {
console.error(`Error executing native string`);
}
});