vehicle question xml

Started by Luis_Labarca, Nov 16, 2022, 03:51 AM

Previous topic - Next topic

Luis_Labarca

I added a custom vehicle to my server so far so good.

The vehicle that I added is a lantern. but sometimes it spawns without the tank? (on chassis) is there a way to get the tank out whenever I want with setparts?



I have opened the vehicle with Zmodeler and the object says Extras1

should I stick it to the chassis_hi?
or can someone give me the id of extras1 in setpart(id,id)?
My server RP
IP: 51.222.28.159:8194

Sebastian

Yes,  you must make it be part of the chassis_hi in order to be available all the time.
VCMP cannot handle the extra parts of vehicles,  so there is no way you can enable/disable extras.

Also,  via SetParts you can just set parts like windscreen, bonnet,  doors,  etc

Luis_Labarca

Quote from: Sebastian on Nov 18, 2022, 04:11 PMYes,  you must make it be part of the chassis_hi in order to be available all the time.
VCMP cannot handle the extra parts of vehicles,  so there is no way you can enable/disable extras.

Also,  via SetParts you can just set parts like windscreen, bonnet,  doors,  etc
Ok friend thank you very much I hope that one day it will be possible that would be great ;D :D
My server RP
IP: 51.222.28.159:8194