[Tutorial] Tunned Vehicle
#1

First thing you need to do is add this code
Quote:

new tunnedElegy;// This is the Vehicle that we use

now OnGameModeInIt you add the vehicle
Код:
tunnedElegy = AddStaticVehicle(Cordinations);//This is your vehicle
Now to Add the component you need to add this
Код:
AddVehicleComponent(tunnedElegy, componentid);//
Componentid is the ID from the componend that we gona use,for example
Код:
AddVehicleComponent(tunnedElegy, 1035); // roof
Okey,now for paintjob To change the Paintjob you need to do this
Код:
ChangeVehiclePaintjob(tunnedElegy,paintjobid);//And the paintjob will be changed
Now,OnVehicleSpawn you need to add this
Код:
public OnVehicleSpawn(vehicleid)
{
if (vehicleid == tunnedElegy){
And you add the Componend
Код:
AddVehicleComponent(carID, ComponentID);
Tutorial by:Jake Hunter
Reply


Messages In This Thread
Tunned Vehicle - by JakeHunter - 27.10.2013, 17:58
Re: Tunned Vehicle - by Luis- - 27.10.2013, 18:00
Re: Tunned Vehicle - by JakeHunter - 27.10.2013, 18:02
Re: Tunned Vehicle - by Konstantinos - 27.10.2013, 18:05
Re: Tunned Vehicle - by Isolated - 27.10.2013, 18:18
Re: Tunned Vehicle - by JakeHunter - 27.10.2013, 18:20
Re: Tunned Vehicle - by iZN - 27.10.2013, 19:11
Re: Tunned Vehicle - by Luis- - 27.10.2013, 20:03
Re: Tunned Vehicle - by JakeHunter - 27.10.2013, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)