31.01.2012, 16:09
hy,,,,
I created a car.with addcomponent . afther "/rac"->respawn all car the tuning disappear . code.
I created a car.with addcomponent . afther "/rac"->respawn all car the tuning disappear . code.
pawn Код:
RENT7 = AddStaticVehicle(560,540.6259,-1286.8240,16.9474,3.3897,125,125); // sultan
RENT8 = AddStaticVehicle(562,548.0557,-1285.5731,17.1104,1.0000,42,65); // elegy
RENT9 = AddStaticVehicle(559,555.2578,-1285.7566,16.9045,0.2706,6,6); // jester
pawn Код:
AddVehicleComponent(RENT7, 1026);
AddVehicleComponent(RENT7, 1027);
AddVehicleComponent(RENT7, 1028);
AddVehicleComponent(RENT7, 1029);
AddVehicleComponent(RENT7, 1030);
AddVehicleComponent(RENT7, 1031);
AddVehicleComponent(RENT7, 1032);
AddVehicleComponent(RENT7, 1033);
AddVehicleComponent(RENT7, 1138);
AddVehicleComponent(RENT7, 1139);
AddVehicleComponent(RENT7, 1140);
AddVehicleComponent(RENT7, 1141);
AddVehicleComponent(RENT7, 1169);
AddVehicleComponent(RENT7, 1170);
ChangeVehiclePaintjob(RENT7, 0);
AddVehicleComponent(RENT9, 1066);
AddVehicleComponent(RENT9, 1067);
AddVehicleComponent(RENT9, 1070);
AddVehicleComponent(RENT9, 1079);
ChangeVehiclePaintjob(RENT8, 1);
AddVehicleComponent(RENT8, 1034);
AddVehicleComponent(RENT8, 1035);
AddVehicleComponent(RENT8, 1036);
AddVehicleComponent(RENT8, 1041);
ChangeVehiclePaintjob(RENT9, 0);
AddVehicleComponent(RENT9, 1159);
AddVehicleComponent(RENT9, 1160);
AddVehicleComponent(RENT9, 1161);
AddVehicleComponent(RENT9, 1072);//
AddVehicleComponent(RENT9, 1068);
AddVehicleComponent(RENT9, 1065);
AddVehicleComponent(RENT8, 1001);
AddVehicleComponent(RENT9, 1003);
AddVehicleComponent(RENT9, 1024);