Hey, I have a question, how to use custom cars? I added custom car in 7z format, but I don't know, how to add this to gamemode. Gamemode loads custom cars without adding some lines of code? Because i tried to spawn my car, ID 6400, and it don't work. Here's the car that don't work. (Yes, car is installed to store/vehicle)
Here's car that don't work: http://hostuje.net/file.php?id=fe15f65762c0d45c79951111e2576d15 (Click Pobierz Plik)
Thanks.
The custom vehicles starts with the ID 6400. Try spawning a vehicle with 6400 ID.
I was wrong, I tried to spawn 6400, not 6405.
EDIT: Is it possible, it don't work because it shows that error:
"Plugin error >> LoadLibrary() 'plugins/xmlconf04rel32.dll' failed: Code 126 Failed to load plugin: xmlconf04rel32"?
EDIT2: Fixed that error, and that still don't work.
You have an "-" in your XML before the audio element. Remove that thing and it should work.
Removed that, updated on server and this still don't work... I don't have any idea, why this still don't work.
Here's fixed XML: http://pastebin.com/bzCaXSht
What does your debug log say. You can find the txt in your %appdata%/VCMP/04beta (Or something like that) folder.
Your 7z worked for me after removing that -.
What are you using to spawn the vehicle? Does the code work for non-custom vehicles?
debuglog.txt is empty.
I tried to use script to car spawning, here's code: http://pastebin.com/R2rXuh9J i don't know it works for custom vehicles, for normal vehicles it works without any problem.
I also tried to add vehicles in server.conf file: http://pastebin.com/LGUCa3wc
EDIT: You tested that 7z on VPS or localhost? Because on localhost it don't work for me, I don't know how on VPS.