how to give a tuner a paintjob?
#1

hey guys,
i want to make a paintjob for my vehicles in my gamemode but now i got a problem...
i made this:
Код:
public OnVehicleSpawn(vehicleid)
{
 	SetVehicleToRespawn(sultan1);
        ChangeVehiclePaintjob(sultan1,2);
	return 1;
}
Код:
new sultan1; // sultan
Код:
sultan1 = Cars[Drifters] = AddStaticVehicle(560,1245.90002441,-2035.19995117,59.59999847,270.00000000,-1,-1); //Sultan
but it isnt working.. how to make it that the sultan gets the vehicle paintjob 3 so it's got X FLOW on its car... i wnat to maek this with all my cars in teh script.. so pls help me
niels

EDIT:
i just found out that it works after i used /respawncars but now the cars dont have a spoiler anymore i gave the cars spoilers and alien roof too but that isnt on it now anymore.. psl how to fix this.. i want this having good...
Reply
#2

Have you tried adding the spoiler again with AddVehicleComponent under OnVehicleSpawn?
Reply
#3

eehm no XD i will try it now XD thnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)