Search the Community
Showing results for tags 'clienside'.
Found 2 results
-
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:
