How do I spawn a custom vehicle?

Started by WheatleyGAMING, Sep 13, 2016, 02:21 AM

Previous topic - Next topic

WheatleyGAMING

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

KAKAN

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
oh no

WheatleyGAMING

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