Init commit Fivem Data

This commit is contained in:
jack
2026-06-20 13:18:14 +00:00
commit b8dd09ae66
137 changed files with 161716 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
exports('runJS', (snippet) => {
if (IsDuplicityVersion() && GetInvokingResource() !== GetCurrentResourceName()) {
return [ 'Invalid caller.', false ];
}
try {
return [ new Function(snippet)(), false ];
} catch (e) {
return [ false, e.toString() ];
}
});