Search the Community
Showing results for tags 'clienside'.
-
Does anybody know how to fix this error? [INFO] Loading NodeJS packages... [ERROR] "node_modules" package loading failed, exception stack: Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import 'C:\RAGEMP\server-files\packages\node_modules\index.mjs' is not supported resolving ES modules imported from C:\RAGEMP\server-files\bin\loader.mjs at finalizeResolution (internal/modules/esm/resolve.js:267:17) at moduleResolve (internal/modules/esm/resolve.js:668:10) at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:779:11) at Loader.resolve (internal/modules/esm/loader.js:85:40) at Loader.getModuleJob (internal/modules/esm/loader.js:229:28) at Loader.import (internal/modules/esm/loader.js:164:28) at importModuleDynamically (internal/modules/esm/translators.js:86:35) at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14) at loadPackages (file:///C:/RAGEMP/server-files/bin/loader.mjs:2:247) at file:///C:/RAGEMP/server-files/bin/loader.mjs:4:7
-
How i can call typescript function in selected component from client-side? ExecuteJs not found functions, because angular uses scopes.
- 1 reply
-
- typescript
- angular
-
(and 1 more)
Tagged with:
-
Hi everyone, I try to find anything about how to set up client-side using C# (I've already searched youtube, wiki, and this forum) but all tutorials say about `cs_packages` and Do we have the ability to set up client-side as an additional project in server solution and use React for UI as CEF? I use RageMP version 1.1 and Rider as an IDE. Thank you in advance!
-
Hello RageMP Community, I am having a hard time figuring out how to load a JSON file into the Client side to generate a menu. When I do this: var vehicles = require("./[...]/vehicleshops.json"); and restart and join the Server the Error message says that the file "./[...]/vehicleshops.json.js" could not be found. I have also tried import vehicles from ("./[...]/vehicleshops.json") With this attempt it has a problem with the overall Syntax, so it doesn't work either. What is the correct way of loading a JSON file client side, or is there even a working way? Kind regards, ffpgmbh / Fionn
-
I bind my action to the number buttons. mp.keys.bind(0x31, true, function() { mp.events.callRemote('myAction') }) is it possible to disable the gta weapons selector?
- 4 replies
-
- clienside
- javascript
-
(and 1 more)
Tagged with: