What you seem to be doing (and I might be wrong here as I don’t see your folder structure) is attempting to load a model (police4) directly on the server side. Unless your resource file is labeled police4.lua. Having a screenshot of your resource directory would go a long way in getting you back on track. What you should have is a folder that uses your mod name, as an example “assets” within that folder should be a stream folder, and your controlling __resources.lua file. inside the stream folder should be a police4 folder (as that appears to be the vehicle you are working with), and your vehicle files (.yft and .ytd)should be in there. in your citmp-server.yml file you should not see a police4 asset, but instead an assets one (if you used the example above.) if you continue to have the issue, try moving the .yft and .ytd files out of the police4 directory, so that they are loose files in the stream folder.
Works great withelse that i need to somehow add the vehicle to the ESX_Cardealer list, i have my phpmyadmin up and in the “vehicle” tab but i need the ID of the car am i right?
keeps coming up with failed to start assets when i try and load into the server. im using a vps will that change anything? does gta v have to be installed on the vps? i need help please
no, having a VPS does not change anything.
no, you do not need GTA V installed on your VPS.
Whatever asset resource you are trying to load is misconfigured. Need a little bit of more info to know what is wrong. Have a look into your CitizenFX.log after you tried to connect to the server and see if you see any errors regarding that resource
The server started no problem both times but I was unable to spawn the plane in by any name (including renaming the file to “ambulance” when I followed this guide).
ok I have followed this correctly and still no luck I have deleted my server caches and aslo still no luck and don’t ask if I have two underscore before resource because I do here is how my server is set out if someone can help me that would be awesome
FXServer\serverdata\resources\emergency
in the emergency folder I have two things the stream folder and an empty __resource.lua file like said
than in those folders I will have all the files I think are required so in the ambulance folder I have ambulance.yft, ambulance.ytd and ambulance_hi.yft please help this is the same with all the other folders but different names
Note: I did change the file names like for so ambulance.yft use to be firetruck.yft if this does effect it please let me know
I’ve done everything very carefully, tried your method and using an addon car installer. Every time I go to spawn them in vMenu, its says make sure content is streaming correctly. Any ideas?