I am new to FiveM server-making scene, so I’m quite green when it comes to plugins.
I tried installing the FuelScriptV mod, but I can’t make it work.
Tried making a “fuelmod” folder in “Resources”. Then making a “stream” folder in the “fuelmod” one, and put FuelScriptV.lua in it. In the “fuelmod” folder I also made a “__resource.lua” file. Tried putting it in different places etc. but it still does not work. Anyone knows how to fix this?
Also wanted to install a plugin called OpenAllInteriors, but it’s an .asi file. Is there any way to install that?
And the last question, is there any way to make els cop cars work on the server? The textures work just fine, but the sirens don’t. Where would I put the VCFs (.xml files)? Cause I have the car textures in Resources\customvehicles\stream.
You don’t need to have a stream folder inside of the resource folder, as you are not streaming textures, but a script. In your server resource folder, just make a folder called fuelmode or whatever in your case, and just drop the __resource.lua, server.lua (if applicable) & client.lua (if applicable) into the created folder.
That is a client-side modification (hint is the .ASI file format). This cannot be setup server-side. If you would like to use this modification, follow standard procedure in installing the .ASI. Not sure if it has to be installed in the FiveM directory, GTA directory or both, as I’ve personally never used .ASI, although you should becareful, as some client-side modifications may end up doing more bad than good.
I don’t think there is official support for using ELS on FiveM due to proprietary matters I believe, although you should be able to get ELS to work by installing the .ASI for ELS to the client-side, as it cannot be installed on the server. As for the .xml files, they need to also go to the client-side, not the server.
Still a bit grainy as I’ve never used .ASI, although this should give you a basic understanding. If someone else has anything to say, feel free to extend or even correct me
Oh ok. Thanks! Knew that you had to install ELS clientsided, but didn’t know that the same goes for the .xml files. I think i’ll just stick to normal re-textures then. To much hassle for the people that want to join.
And about the FuelScriptV. So it should look like this?: Resources\fuelmod(here I put the empty “__resource.lua” file and the “FuelScriptV.lua” file.
And in server.cfg I just make a new line with: start fuelmod
Is this right?
Do I have to put anything in the __resource.lua?
Cause I’m pretty sure I tried it. Will check it now.
The path is correct (although Resources should be lowercase, so resources). Again, you are not streaming vehicle resources, so your __resource.lua has to be complete. Please refer to this documentation.
Furthermore, make sure you are starting the resource from your server.cfg.
You can usually leave out the resource manifest version and just have client_scripts and server_scripts. You can read more on manifest versions here. More than likely, most scripts do not require you to define the manifest version, so I would try without.
Hmm strange. Looks fine to me.
What errors, if any, do you get in terminal/cmd/console?
Infact, send me the full log of the server (on the console), or even a screenshot if you can.
Also, how are you starting the server? Are you doing
Sending heartbeat to live-internal.fivem.net:30110
Sending heartbeat to live-internal.fivem.net:30110
pQueue: SmuleH[steam:11000010a47f731] attemped to connect
pQueue: There was no queue and the server isn't full, allowing SmuleH[steam:11000010a47f731] into the server
pQueue: steam:11000010a47f731 was greenlit for join (Ignore Recent)
Connecting: SmuleH
Sending heartbeat to live-internal.fivem.net:30110
pQueue: SmuleH[steam:11000010a47f731] was found in ignore recent table, they are greenlit
Error running system event handling function for resource 911: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:10: attempt to call a nil value (method 'Split')
stack traceback:
server.lua:10: in function 'stringsplit'
server.lua:2: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:163: in function <citizen:/scripting/lua/scheduler.lua:162>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:162: in function <citizen:/scripting/lua/scheduler.lua:131>
Error running system event handling function for resource mxhandcuff: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: sv_handcuffs.lua:38: attempt to call a nil value (method 'Split')
stack traceback:
sv_handcuffs.lua:38: in function 'stringsplit'
sv_handcuffs.lua:4: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:163: in function <citizen:/scripting/lua/scheduler.lua:162>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:162: in function <citizen:/scripting/lua/scheduler.lua:131>
hitch warning: frame time of 194 milliseconds
Sending heartbeat to live-internal.fivem.net:30110
net-tcp-server failed to create server: couldn’t listenCould not bind MultiplexTcpServer to 0.0.0.0:30120.
Could not bind on 0.0.0.0:30120 - is this address valid and not already in use?
Should I change the 0.0.0.0 to my local ip, or normal ip?
You seem to be getting quite a bit of Stringsplit issues in your handcuff resource. This usually indicates an old resource intended for the old CitizenMP software. Please look at the porting notes here which will rectify your issue.
The above indicates that another program or instance is binded and occupying that port number already. Please change your port number to a different value, such as 0.0.0.0:30122. Make sure what you are changing it to is not already reserved or taken by another program.
You do not need to change 0.0.0.0, as that is only telling the system to bind to the external IP address, so only change the values after the colon : in the server.cfg file on the lines
In summary, the good news is that the resources are correctly being called and initialised, bad news is outdated resources that need simple updating via the supplied link above as well as changing port number.
I also have difficulties finding scripts for fivem.
Do you recommend any website?
Just kind of finding stuff everywhere.
Didn’t come across any /fix script yet :/.