Converting vehicles to add-on vehicles. [ELS/Non-ELS]

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2898
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Converting vehicles to add-on vehicles. [ELS/Non-ELS]

Post by greenie »

Acquire a vehicle.
You can use any vehicle from places like GTA5-mods.com, LSPDFR.com and even the forums themselves (there are more sources those are just the most common)
For this tutorial I will be using an unmarked taxi https://www.lcpdfr.com/files/file/14500 ... taxi-cvpi/ (This was picked at random and I am not claiming any ownership etc.)

Create a new folder somewhere you can access easily.

This is just a little file I put together that I use when converting vehicles feel free to use it if you wish.

Create a stream folder inside the folder you created earlier, and place all of the yft and ytd files inside it.

This next step differs if you are using ELS or not, if you are not using ELS skip this step.
: Place the vehicle.xml file into your base folder

Rename all of the files to your chosen name.

Now open my booster pack and drag all of the files into the base folder

Here is where it gets more complicated and you have to pay attention (i know right?)
Open vehicles.meta and search for your vehicle, my vehicle is police4 so heres is what it will look like.

Change:

<modelName>police4</modelName>
<txdName>police4</txdName>
<gameName>POLICE4</gameName>
to your selected name

<modelName>taxi</modelName>
<txdName>taxi</txdName>
<gameName>TAXI</gameName>
Then edit

<audioNameHash/> -- change to <audioNameHash>police4</audioNameHash>
police4 can be any vehicle you want however police4 is best suited for my vehicle.

Then open carvariations.meta and find your car and change it to your chosen name

Lastly open your __resource.lua file and edit as followed.
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œServer Development”