27.10.2013, 17:58
(
Последний раз редактировалось JakeHunter; 27.10.2013 в 18:20.
Причина: Bad edit
)
First thing you need to do is add this code
now OnGameModeInIt you add the vehicle
Now to Add the component you need to add this
Componentid is the ID from the componend that we gona use,for example
Okey,now for paintjob To change the Paintjob you need to do this
Now,OnVehicleSpawn you need to add this
And you add the Componend
Tutorial by:Jake Hunter
Quote:
new tunnedElegy;// This is the Vehicle that we use |
Код:
tunnedElegy = AddStaticVehicle(Cordinations);//This is your vehicle
Код:
AddVehicleComponent(tunnedElegy, componentid);//
Код:
AddVehicleComponent(tunnedElegy, 1035); // roof
Код:
ChangeVehiclePaintjob(tunnedElegy,paintjobid);//And the paintjob will be changed
Код:
public OnVehicleSpawn(vehicleid) { if (vehicleid == tunnedElegy){
Код:
AddVehicleComponent(carID, ComponentID);