Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: WheatleyGAMING on Sep 13, 2016, 02:21 AM

Title: How do I spawn a custom vehicle?
Post by: WheatleyGAMING on Sep 13, 2016, 02:21 AM
So I added a custom vehicle to my server but I do not know the command to spawn it,so how do I? ;-;


Also if anyone knows how to make it where you only need to spawn custom weapons using a  command like for example /wep 100 instead of using a long command I would really appreciate if you told me :D
Title: Re: How do I spawn a custom vehicle?
Post by: KAKAN on Sep 13, 2016, 05:53 AM
CreateVehicle( ID_FROM_CUSTOM_VEHICLES, .... );
So, basically, you just need to insert the custom ID instead of normal IDs, for weps, the same.
You can create your own function with just a few lines of code though :D
Title: Re: How do I spawn a custom vehicle?
Post by: WheatleyGAMING on Sep 13, 2016, 06:51 AM
Quote from: KAKAN on Sep 13, 2016, 05:53 AMCreateVehicle( ID_FROM_CUSTOM_VEHICLES, .... );
So, basically, you just need to insert the custom ID instead of normal IDs, for weps, the same.
You can create your own function with just a few lines of code though :D
Ah! Thank you very much :D