#include <a_samp>

new Transfender[] =
{
	400, 401, 402, 404, 405, 409, 410, 411, 415, 418, 419, 420, 421, 422, 424, 426,
	429, 436, 438, 439, 442, 445, 451, 458, 466, 467, 474, 475, 477, 478, 479, 480,
	489, 491, 492, 496, 500, 505, 506, 507, 516, 517, 518, 526, 527, 529, 533, 540,
	541, 542, 545, 546, 547, 549, 550, 551, 555, 575, 579, 580, 585, 587, 589, 600,
	602, 603
};

new WheelArchAngels[] =
{
	558, 559, 560, 561, 562, 565
};

new LocoLowCo[] =
{
	412, 534, 535, 536, 566, 567, 576
};

new NoneTun[] =
{
	403, 406, 407, 408, 413, 414, 416, 417, 423, 425, 427, 428, 430, 431, 432, 433,
	434, 435, 437, 440, 441, 443, 444, 446, 447, 448, 449, 450, 452, 453, 454, 455,
	456, 457, 459, 460, 461, 462, 463, 464, 465, 468, 469, 470, 471, 472, 473, 476,
	481, 482, 483, 484, 485, 486, 487, 488, 490, 493, 494, 495, 497, 498, 499, 501,
	502, 503, 504, 508, 509, 510, 511, 512, 513, 514, 515, 519, 520, 521, 522, 523,
	524, 525, 528, 530, 531, 532, 537, 538, 539, 543, 544, 548, 552, 553, 554, 556,
	557, 563, 564, 568, 569, 570, 571, 572, 573, 574, 577, 578, 581, 582, 583, 584,
	586, 588, 690, 591, 592, 593, 594, 595, 596, 597, 598, 599, 601, 604, 605, 606,
	607, 608, 609, 610, 611
};

stock GetVehicleTuningState( model )
{
    new size[] = { sizeof(NoneTun), sizeof(Transfender), sizeof(LocoLowCo), sizeof(WheelArchAngels) };

    for(new i; i < size[0]; i ++)
	{
	    if(i < size[0] && model == NoneTun[i]) return 0;
	    else if(i < size[1] && model == Transfender[i]) return 1;
	    else if(i < size[2] && model == LocoLowCo[i]) return 2;
		else if(i < size[3] && model == WheelArchAngels[i]) return 3;
	}
	return -1;
}

enum tgInfo
{
	tgModel[30],
	tgPart[30],
	tgType[30],
	tgCars[40]
}

new TunsInfo[][tgInfo] =
{
    { "spl_b_mar_m", "Spoiler", "Pro", "Transfender" }, // 1000
	{ "spl_b_bab_m", "Spoiler", "Win", "Transfender" }, // 1001
	{ "spl_b_bar_m", "Spoiler", "Drag", "Transfender" }, // 1002
	{ "spl_b_mab_m", "Spoiler", "Alpha", "Transfender" }, // 1003
	{ "bnt_b_sc_m", "Hood", "Champ Scoop", "Transfender" }, // 1004
	{ "bnt_b_sc_l", "Hood", "Fury Scoop", "Transfender" }, // 1005
	{ "rf_b_sc_r", "Roof", "Roof Scoop", "Transfender" }, // 1006
	{ "wg_l_b_ssk", "Sideskirt", "Right Sideskirt", "Transfender" }, // 1007
	{ "nto_b_l", "Nitro", "5 times", "Most cars, planes, helicopters" }, // 1008
	{ "nto_b_s", "Nitro", "2 times", "Most cars, planes, helicopters" }, // 1009
	{ "nto_b_tw", "Nitro", "10 times", "Most cars, planes, helicopters" }, // 1010
	{ "bnt_b_sc_p_m", "Hood", "Race Scoop", "Transfender" }, // 1011
	{ "bnt_b_sc_p_l", "Hood", "Worx Scoop", "Transfender" }, // 1012
	{ "lgt_b_rspt", "Lamps", "Round Fog", "Transfender" }, // 1013
	{ "spl_b_bar_l", "Spoiler", "Champ", "Transfender" }, // 1014
	{ "spl_b_bbr_l", "Spoiler", "Race", "Transfender" }, // 1015
	{ "spl_b_bbr_m", "Spoiler", "Worx", "Transfender" }, // 1016
	{ "wg_r_b_ssk", "Sideskirt", "Left Sideskirt", "Transfender" }, // 1017
	{ "exh_b_ts", "Exhaust", "Upswept", "Transfender" }, // 1018
	{ "exh_b_t", "Exhaust", "Twin", "Transfender" }, // 1019
	{ "exh_b_l", "Exhaust", "Large", "Transfender" }, // 1020
	{ "exh_b_m", "Exhaust", "Medium", "Transfender" }, // 1021
	{ "exh_b_s", "Exhaust", "Small", "Transfender" }, // 1022
	{ "spl_b_bbb_m", "Spoiler", "Fury", "Transfender" }, // 1023
	{ "lgt_b_sspt", "Lamps", "Square Fog", "Transfender" }, // 1024
	{ "wheel_or1", "Wheels", "Offroad", "Transfender" }, // 1025
	{ "wg_l_a_s", "Sideskirt", "Right Alien Sideskirt", "Sultan" }, // 1026
	{ "wg_r_a_s", "Sideskirt", "Left Alien Sideskirt", "Sultan" }, // 1027
	{ "exh_a_s", "Exhaust", "Alien", "Sultan" }, // 1028
	{ "exh_c_s", "Exhaust", "X-Flow", "Sultan" }, // 1029
	{ "wg_r_c_s", "Sideskirt", "Left X-Flow Sideskirt", "Sultan" }, // 1030
	{ "wg_l_c_s", "Sideskirt", "Right X-Flow Sideskirt", "Sultan" }, // 1031
	{ "rf_a_s", "Roof", "Alien Roof Vent", "Sultan" }, // 1032
	{ "rf_c_s", "Roof", "X-Flow Roof Vent", "Sultan" }, // 1033
	{ "exh_a_l", "Exhaust", "Alien", "Elegy" }, // 1034
	{ "rf_c_l", "Roof", "X-Flow Roof Vent", "Elegy" }, // 1035
	{ "wg_l_a_l", "SideSkirt", "Right Alien Sideskirt", "Elegy" }, // 1036
	{ "exh_c_l", "Exhaust", "X-Flow", "Elegy" }, // 1037
	{ "rf_a_l", "Roof", "Alien Roof Vent", "Elegy" }, // 1038
	{ "wg_l_c_l", "SideSkirt", "Left X-Flow Sideskirt", "Elegy" }, // 1039
	{ "wg_r_a_l", "SideSkirt", "Left Alien Sideskirt", "Elegy" }, // 1040
	{ "wg_r_c_l", "SideSkirt", "Right X-Flow Sideskirt", "Elegy" }, // 1041
	{ "wg_l_lr_br1", "SideSkirt", "Right Chrome Sideskirt", "Broadway" }, // 1042
	{ "exh_lr_br2", "Exhaust", "Slamin", "Broadway" }, // 1043
	{ "exh_lr_br1", "Exhaust", "Chrome", "Broadway" }, // 1044
	{ "exh_c_f", "Exhaust", "X-Flow", "Flash" }, // 1045
	{ "exh_a_f", "Exhaust", "Alien", "Flash" }, // 1046
	{ "wg_l_a_f", "SideSkirt", "Right Alien Sideskirt", "Flash" }, // 1047
	{ "wg_l_c_f", "SideSkirt", "Right X-Flow Sideskirt", "Flash" }, // 1048
	{ "spl_a_f_r", "Spoiler", "Alien", "Flash" }, // 1049
	{ "spl_c_f_r", "Spoiler", "X-Flow", "Flash" }, // 1050
	{ "wg_r_a_f", "SideSkirt", "Left Alien Sideskirt", "Flash" }, // 1051
	{ "wg_r_c_f", "SideSkirt", "Left X-Flow Sideskirt", "Flash" }, // 1052
	{ "rf_c_f", "Roof", "X-Flow", "Flash" }, // 1053
	{ "rf_a_f", "Roof", "Alien", "Flash" }, // 1054
	{ "rf_a_st", "Roof", "Alien", "Stratum" }, // 1055
	{ "wg_l_a_st", "Sideskirt", "Right Alien Sideskirt", "Stratum" }, // 1056
	{ "wg_l_c_st", "Sideskirt", "Right X-Flow Sideskirt", "Stratum" }, // 1057
	{ "spl_a_st_r", "Spoiler", "Alien", "Stratum" }, // 1058
	{ "exh_c_st", "Exhaust", "X-Flow", "Stratum" }, // 1059
	{ "spl_c_st_r", "Spoiler", "X-Flow", "Stratum" }, // 1060
	{ "rf_c_st", "Roof", "X-Flow", "Stratum" }, // 1061
	{ "wg_r_a_st", "Sideskirt", "Left Alien Sideskirt", "Stratum" }, // 1062
	{ "wg_r_c_st", "Sideskirt", "Left X-Flow Sideskirt", "Stratum" }, // 1063
	{ "exh_a_st", "Exhaust", "Alien", "Stratum" }, // 1064
	{ "exh_a_j", "Exhaust", "Alien", "Jester" }, // 1065
	{ "exh_c_j", "Exhaust", "X-Flow", "Jester" }, // 1066
	{ "rf_a_j", "Roof", "Alien", "Jester" }, // 1067
	{ "rf_c_j", "Roof", "X-Flow", "Jester" }, // 1068
	{ "wg_l_a_j", "Sideskirt", "Right Alien Sideskirt", "Jester" }, // 1069
	{ "wg_l_c_j", "Sideskirt", "Right X-Flow Sideskirt", "Jester" }, // 1070
	{ "wg_r_a_j", "Sideskirt", "Left Alien Sideskirt", "Jester" }, // 1071
	{ "wg_r_c_j", "Sideskirt", "Left X-Flow Sideskirt", "Jester" }, // 1072
	{ "wheel_sr6", "Wheels", "Shadow", "Most cars" }, // 1073
	{ "wheel_sr3", "Wheels", "Mega", "Most cars" }, // 1074
	{ "wheel_sr2", "Wheels", "Rimshine", "Most cars" }, // 1075
	{ "wheel_lr4", "Wheels", "Wires", "Most cars" }, // 1076
	{ "wheel_lr1", "Wheels", "Classic", "Most cars" }, // 1077
	{ "wheel_lr3", "Wheels", "Twist", "Most cars" }, // 1078
	{ "wheel_sr1", "Wheels", "Cutter", "Most cars" }, // 1079
	{ "wheel_sr5", "Wheels", "Switch", "Most cars" }, // 1080
	{ "wheel_sr4", "Wheels", "Grove", "Most cars" }, // 1081
	{ "wheel_gn1", "Wheels", "Import", "Most cars" }, // 1082
	{ "wheel_lr2", "Wheels", "Dollar", "Most cars" }, // 1083
	{ "wheel_lr5", "Wheels", "Trance", "Most cars" }, // 1084
	{ "wheel_gn2", "Wheels", "Atomic", "Most cars" }, // 1085
	{ "stereo", "Stereo", "Stereo", "Most cars" }, // 1086
	{ "hydralics", "Hydraulics", "Hydraulics", "Most cars" }, // 1087
	{ "rf_a_u", "Roof", "Alien", "Uranus" }, // 1088
	{ "exh_c_u", "Exhaust", "X-Flow", "Uranus" }, // 1089
	{ "wg_l_a_u", "Sideskirt", "Right Alien Sideskirt", "Uranus" }, // 1090
	{ "rf_c_u", "Roof", "X-Flow", "Uranus" }, // 1091
	{ "exh_a_u", "Exhaust", "Alien", "Uranus" }, // 1092
	{ "wg_l_c_u", "Sideskirt", "Left X-Flow Sideskirt", "Uranus" }, // 1093
	{ "wg_r_a_u", "Sideskirt", "Left Alien Sideskirt", "Uranus" }, // 1094
	{ "wg_r_c_u", "Sideskirt", "Right X-Flow Sideskirt", "Uranus" }, // 1095
	{ "wheel_gn3", "Wheels", "Ahab", "Most cars" }, // 1096
	{ "wheel_gn4", "Wheels", "Virtual", "Most cars" }, // 1097
	{ "wheel_gn5", "Wheels", "Access", "Most cars" }, // 1098
	{ "wg_r_lr_br1", "Sideskirt", "Left Chrome Sideskirt", "Broadway" }, // 1099
	{ "misc_c_lr_rem1", "Bullbar", "Chrome Grill", "Remington" }, // 1100
	{ "wg_r_lr_rem1", "Sideskirt", "Left `CF` Sideskirt", "Remington" }, // 1101
	{ "wg_r_lr_sv", "Sideskirt", "Left `Chrome Strip` Sideskirt", "Savanna" }, // 1102
	{ "rf_lr_bl2", "Roof", "Covertible", "Blade" }, // 1103
	{ "exh_lr_bl1", "Exhaust", "Chrome", "Blade" }, // 1104
	{ "exh_lr_bl2", "Exhaust", "Slamin", "Blade" }, // 1105
	{ "wg_l_lr_rem2", "Sideskirt", "Right `CA`", "Remington" }, // 1106
	{ "wg_r_lr_bl1", "Sideskirt", "Left `CS` Sideskirt", "Blade" }, // 1107
	{ "wg_l_lr_bl1", "Sideskirt", "Right `CS` Sideskirt", "Blade" }, // 1108
	{ "bbb_lr_slv1", "Rear Bullbars", "Chrome", "Slamvan" }, // 1109
	{ "bbb_lr_slv2", "Rear Bullbars", "Slamin", "Slamvan" }, // 1110
	{ "bnt_lr_slv1", "Front Sign?", "Little Sign?", "Slamvan" }, // 1111
	{ "bnt_lr_slv2", "Front Sign?", "Little Sign?", "Slamvan" }, // 1112
	{ "exh_lr_slv1", "Exhaust", "Chrome", "Slamvan" }, // 1113
	{ "exh_lr_slv2", "Exhaust", "Slamin", "Slamvan" }, // 1114
	{ "fbb_lr_slv1", "Front Bullbars", "Chrome", "Slamvan" }, // 1115
	{ "fbb_lr_slv2", "Front Bullbars", "Slamin", "Slamvan" }, // 1116
	{ "fbmp_lr_slv1", "Front Bumper", "Chrome", "Slamvan" }, // 1117
	{ "wg_l_lr_slv1", "Sideskirt", "Right `Chrome Trim` Sideskirt", "Slamvan" }, // 1118
	{ "wg_l_lr_slv2", "Sideskirt", "Right `Wheelcovers` Sideskirt", "Slamvan" }, // 1119
	{ "wg_r_lr_slv1", "Sideskirt", "Left `Chrome Trim` Sideskirt", "Slamvan" }, // 1120
	{ "wg_r_lr_slv2", "Sideskirt", "Left `Wheelcovers` Sideskirt", "Slamvan" }, // 1121
	{ "wg_l_lr_rem1", "Sideskirt", "Right `CF` Sideskirt", "Remington" }, // 1122
	{ "misc_c_lr_rem2", "Bullbars", "Bullbar CB", "Remington" }, // 1123
	{ "wg_r_lr_rem2", "Sideskirt", "Left `CA` Sideskirt", "Remington" }, // 1124
	{ "misc_c_lr_rem3", "Bullbars", "Bullbar Chrome Lights", "Remington" }, // 1125
	{ "exh_lr_rem1", "Exhaust", "Chrome Exhaust", "Remington" }, // 1126
	{ "exh_lr_rem2", "Exhaust", "Slamin Exhaust", "Remington" }, // 1127
	{ "rf_lr_bl1", "Roof", "Vinyl Hardtop", "Blade" }, // 1128
	{ "exh_lr_sv1", "Exhaust", "Chrome", "Savanna" }, // 1129
	{ "rf_lr_sv1", "Roof", "Hardtop", "Savanna" }, // 1130
	{ "rf_lr_sv2", "Roof", "Softtop", "Savanna" }, // 1131
	{ "exh_lr_sv2", "Exhaust", "Slamin", "Savanna" }, // 1132
	{ "wg_l_lr_sv", "Sideskirt", "Right `CS` Sideskirt", "Savanna" }, // 1133
	{ "wg_l_lr_t1", "SideSkirt", "Right `CS` Sideskirt", "Tornado" }, // 1134
	{ "exh_lr_t2", "Exhaust", "Slamin", "Tornado" }, // 1135
	{ "exh_lr_t1", "Exhaust", "Chrome", "Tornado" }, // 1136
	{ "wg_r_lr_t1", "Sideskirt", "Left `Chrome Strip` Sideskirt", "Tornado" }, // 1137
	{ "spl_a_s_b", "Spoiler", "Alien", "Sultan" }, // 1138
	{ "spl_c_s_b", "Spoiler", "X-Flow", "Sultan" }, // 1139
	{ "rbmp_c_s", "Rear Bumper", "X-Flow", "Sultan" }, // 1140
	{ "rbmp_a_s", "Rear Bumper", "Alien", "Sultan" }, // 1141
	{ "bntr_b_ov", "Vents", "Left Oval Vents", "Transfender" }, // 1142
	{ "bntl_b_ov", "Vents", "Right Oval Vents", "Transfender" }, // 1143
	{ "bntr_b_sq", "Vents", "Left Square Vents", "Transfender" }, // 1144
	{ "bntl_b_sq", "Vents", "Right Square Vents", "Transfender" }, // 1145
	{ "spl_c_l_b", "Spoiler", "X-Flow", "Elegy" }, // 1146
	{ "spl_a_l_b", "Spoiler", "Alien", "Elegy" }, // 1147
	{ "rbmp_c_l", "Rear Bumper", "X-Flow", "Elegy" }, // 1148
	{ "rbmp_a_l", "Rear Bumper", "Alien", "Elegy" }, // 1149
	{ "rbmp_a_f", "Rear Bumper", "Alien", "Flash" }, // 1150
	{ "rbmp_c_f", "Rear Bumper", "X-Flow", "Flash" }, // 1151
	{ "fbmp_c_f", "Front Bumper", "X-Flow", "Flash" }, // 1152
	{ "fbmp_a_f", "Front Bumper", "Alien", "Flash" }, // 1153
	{ "rbmp_a_st", "Rear Bumper", "Alien", "Stratum" }, // 1154
	{ "fbmp_a_st", "Front Bumper", "Alien", "Stratum" }, // 1155
	{ "rbmp_c_st", "Rear Bumper", "X-Flow", "Stratum" }, // 1156
	{ "fbmp_c_st", "Front Bumper", "X-Flow", "Stratum" }, // 1157
	{ "spl_c_j_b", "Spoiler", "X-Flow", "Jester" }, // 1158
	{ "rbmp_a_j", "Rear Bumper", "Alien", "Jester" }, // 1159
	{ "fbmp_a_j", "Front Bumper", "Alien", "Jester" }, // 1160
	{ "rbmp_c_j", "Rear Bumper", "X-Flow", "Jester" }, // 1161
	{ "spl_a_j_b", "Spoiler", "Alien", "Jester" }, // 1162
	{ "spl_c_u_b", "Spoiler", "X-Flow", "Uranus" }, // 1163
	{ "spl_a_u_b", "Spoiler", "Alien", "Uranus" }, // 1164
	{ "fbmp_c_u", "Front Bumper", "X-Flow", "Uranus" }, // 1165
	{ "fbmp_a_u", "Front Bumper", "Alien", "Uranus" }, // 1166
	{ "rbmp_c_u", "Rear Bumper", "X-Flow", "Uranus" }, // 1167
	{ "rbmp_a_u", "Rear Bumper", "Alien", "Uranus" }, // 1168
	{ "fbmp_a_s", "Front Bumper", "Alien", "Sultan" }, // 1169
	{ "fbmp_c_s", "Front Bumper", "X-Flow", "Sultan" }, // 1170
	{ "fbmp_a_l", "Front Bumper", "Alien", "Elegy" }, // 1171
	{ "fbmp_c_l", "Front Bumper", "X-Flow", "Elegy" }, // 1172
	{ "fbmp_c_j", "Front Bumper", "X-Flow", "Jester" }, // 1173
	{ "fbmp_lr_br1", "Front Bumper", "Chrome", "Broadway" }, // 1174
	{ "fbmp_lr_br2", "Rear Bumper", "Slamin", "Broadway" }, // 1175
	{ "rbmp_lr_br1", "Front Bumper", "Chrome", "Broadway" }, // 1176
	{ "rbmp_lr_br2", "Rear Bumper", "Slamin", "Broadway" }, // 1177
	{ "rbmp_lr_rem2", "Rear Bumper", "Slamin", "Remington" }, // 1178
	{ "fbmp_lr_rem1", "Front Bumper", "Chrome", "Remington" }, // 1179
	{ "rbmp_lr_rem1", "Rear Bumper", "Chrome", "Remington" }, // 1180
	{ "fbmp_lr_bl2", "Front Bumper", "Slamin", "Blade" }, // 1181
	{ "fbmp_lr_bl1", "Front Bumper", "Chrome", "Blade" }, // 1182
	{ "rbmp_lr_bl2", "Rear Bumper", "Slamin", "Blade" }, // 1183
	{ "rbmp_lr_bl1", "Rear Bumper", "Chrome", "Blade" }, // 1184
	{ "fbmp_lr_rem2", "Front Bumper", "Slamin", "Remington" }, // 1185
	{ "rbmp_lr_sv2", "Rear Bumper", "Slamin", "Savanna" }, // 1186
	{ "rbmp_lr_sv1", "Rear Bumper", "Chrome", "Savanna" }, // 1187
	{ "fbmp_lr_sv2", "Front Bumper", "Slamin", "Savanna" }, // 1188
	{ "fbmp_lr_sv1", "Front Bumper", "Chrome", "Savanna" }, // 1189
	{ "fbmp_lr_t2", "Front Bumper", "Slamin", "Tornado" }, // 1190
	{ "fbmp_lr_t1", "Front Bumper", "Chrome", "Tornado" }, // 1191
	{ "rbmp_lr_t1", "Rear Bumper", "Chrome", "Tornado" }, // 1192
	{ "rbmp_lr_t2", "Rear Bumper", "Slamin", "Tornado" } // 1193
};

enum csInfo
{
	csName[30],
	csCategory[30],
	csMods[30]
}

new CarsInfo[][csInfo] =
{
	{ "Landstalker", "Off Road", "Transfender" }, // 400
	{ "Bravura", "Saloons", "Transfender" }, // 401
	{ "Buffalo", "Sport Vehicles", "Transfender" }, // 402
	{ "Linerunner", "Industrial", "None" }, // 403
	{ "Perenniel", "Station Wagons", "Transfender" }, // 404
	{ "Sentinel", "Saloons", "Transfender" }, // 405
	{ "Dumper", "Unique Vehicles", "None" }, // 406
	{ "Firetruck", "Public Service", "None" }, // 407
	{ "Trashmaster", "Industrial", "None" }, // 408
	{ "Stretch", "Unique Vehicles", "Transfender" }, // 409
	{ "Manana", "Saloons", "Transfender" }, // 410
	{ "Infernus", "Sport Vehicles", "Transfender" }, // 411
	{ "Voodoo", "Lowriders", "Loco Low Co" }, // 412
	{ "Pony", "Industrial", "None" }, // 413
	{ "Mule", "Industrial", "None" }, // 414
	{ "Cheetah", "Sport Vehicles", "Transfender" }, // 415
	{ "Ambulance", "Public Service", "None" }, // 416
	{ "Leviathan", "Helicopters", "None" }, // 417
	{ "Moonbeam", "Station Wagons", "Transfender" }, // 418
	{ "Esperanto", "Saloons", "Transfender" }, // 419
	{ "Taxi", "Public Service", "Transfender" }, // 420
	{ "Washington", "Saloons", "Transfender" }, // 421
	{ "Bobcat", "Industrial", "Transfender" }, // 422
	{ "Mr Whoopee", "Unique Vehicles", "None" }, // 423
	{ "BF Injection", "Off Road", "Transfender" }, // 424
	{ "Hunter", "Helicopters", "None" }, // 425
	{ "Premier", "Saloons", "Transfender" }, // 426
	{ "Enforcer", "Public Service", "None" }, // 427
	{ "Securicar", "Unique Vehicles", "None" }, // 428
	{ "Banshee", "Sport Vehicles", "Transfender" }, // 429
	{ "Predator", "Boats", "None" }, // 430
	{ "Bus", "Public Service", "None" }, // 431
	{ "Rhino", "Public Service", "None" }, // 432
	{ "Barracks", "Public Service", "None" }, // 433
	{ "Hotknife", "Unique Vehicles", "None" }, // 434
	{ "Article Trailer", "Trailers", "None" }, // 435
	{ "Previon", "Saloons", "Transfender" }, // 436
	{ "Coach", "Public Service", "None" }, // 437
	{ "Cabbie", "Public Service", "Transfender" }, // 438
	{ "Stallion", "Convertibles", "Transfender" }, // 439
	{ "Rumpo", "Industrial", "None" }, // 440
	{ "RC Bandit", "RC Vehicles", "None" }, // 441
	{ "Romero", "Unique Vehicles", "Transfender" }, // 442
	{ "Packer", "Industrial", "None" }, // 443
	{ "Monster", "Off Road", "None" }, // 444
	{ "Admiral", "Saloons", "Transfender" }, // 445
	{ "Squallo", "Boats", "None" }, // 446
	{ "Seasparrow", "Helicopters", "None" }, // 447
	{ "Pizzaboy", "Bikes", "None" }, // 448
	{ "Tram", "Unique Vehicles", "None" }, // 449
	{ "Article Trailer 2", "Trailers", "None" }, // 450
	{ "Turismo", "Sport Vehicles", "Transfender" }, // 451
	{ "Speeder", "Boats", "None" }, // 452
	{ "Reefer", "Boats", "None" }, // 453
	{ "Tropic", "Boats", "None" }, // 454
	{ "Flatbed", "Industrial", "None" }, // 455
	{ "Yankee", "Industrial", "None" }, // 456
	{ "Caddy", "Unique Vehicles", "None" }, // 457
	{ "Solair", "Station Wagons", "Transfender" }, // 458
	{ "Berkley's RC Van", "Industrial", "None" }, // 459
	{ "Skimmer", "Airplane", "None" }, // 460
	{ "PCJ-600", "Bikes", "None" }, // 461
	{ "Faggio", "Bikes", "None" }, // 462
	{ "Freeway", "Bikes", "None" }, // 463
	{ "RC Baron", "RC Vehicles", "None" }, // 464
	{ "RC Raider", "RC Vehicles", "None" }, // 465
	{ "Glendale", "Saloons", "Transfender" }, // 466
	{ "Oceanic", "Saloons", "Transfender" }, // 467
	{ "Sanchez", "Bikes", "None" }, // 468
	{ "Sparrow", "Helicopters", "None" }, // 469
	{ "Patriot", "Off Road", "None" }, // 470
	{ "Quad", "Bikes", "None" }, // 471
	{ "Coastguard", "Boats", "None" }, // 472
	{ "Dinghy", "Boats", "None" }, // 473
	{ "Hermes", "Saloons", "Transfender" }, // 474
	{ "Sabre", "Sport Vehicles", "Transfender" }, // 475
	{ "Rustler", "Airplane", "None" }, // 476
	{ "ZR-350", "Sport Vehicles", "Transfender" }, // 477
	{ "Walton", "Industrial", "Transfender" }, // 478
	{ "Regina", "Station Wagons", "Transfender" }, // 479
	{ "Comet", "Convertibles", "Transfender" }, // 480
	{ "BMX", "Bikes", "None" }, // 481
	{ "Burrito", "Industrial", "None" }, // 482
	{ "Camper", "Unique Vehicles", "None" }, // 483
	{ "Marquis", "Boats", "None" }, // 484
	{ "Baggage", "Unique Vehicles", "None" }, // 485
	{ "Dozer", "Unique Vehicles", "None" }, // 486
	{ "Maverick", "Helicopters", "None" }, // 487
	{ "SAN News Maverick", "Helicopters", "None" }, // 488
	{ "Rancher", "Off Road", "Transfender" }, // 489
	{ "FBI Rancher", "Public Service", "None" }, // 490
	{ "Virgo", "Saloons", "Transfender" }, // 491
	{ "Greenwood", "Saloons", "Transfender" }, // 492
	{ "Jetmax", "Boats", "None" }, // 493
	{ "Hotring Racer", "Sport Vehicles", "None" }, // 494
	{ "Sandking", "Off Road", "None" }, // 495
	{ "Blista Compact", "Sport Vehicles", "Transfender" }, // 496
	{ "Police Maverick", "Helicopters", "None" }, // 497
	{ "Boxville", "Industrial", "None" }, // 498
	{ "Benson", "Industrial", "None" }, // 499
	{ "Mesa", "Off Road", "Transfender" }, // 500
	{ "RC Goblin", "RC Vehicles", "None" }, // 501
	{ "Hotring Racer", "Sport Vehicles", "None" }, // 502
	{ "Hotring Racer", "Sport Vehicles", "None" }, // 503
	{ "Bloodring Banger", "Saloons", "None" }, // 504
	{ "Rancher", "Off Road", "Transfender" }, // 505
	{ "Super GT", "Sport Vehicles", "Transfender" }, // 506
	{ "Elegant", "Saloons", "Transfender" }, // 507
	{ "Journey", "Unique Vehicles", "None" }, // 508
	{ "Bike", "Bikes", "None" }, // 509
	{ "Mountain Bike", "Bikes", "None" }, // 510
	{ "Beagle", "Airplane", "None" }, // 511
	{ "Cropduster", "Airplane", "None" }, // 512
	{ "Stuntplane", "Airplane", "None" }, // 513
	{ "Tanker", "Industrial", "None" }, // 514
	{ "Roadtrain", "Industrial", "None" }, // 515
	{ "Nebula", "Saloons", "Transfender" }, // 516
	{ "Majestic", "Saloons", "Transfender" }, // 517
	{ "Buccaneer", "Saloons", "Transfender" }, // 518
	{ "Shamal", "Airplane", "None" }, // 519
	{ "Hydra", "Airplane", "None" }, // 520
	{ "FCR-900", "Bikes", "None" }, // 521
	{ "NRG-500", "Bikes", "None" }, // 522
	{ "HPV1000", "Public Service", "None" }, // 523
	{ "Cement Truck", "Industrial", "None" }, // 524
	{ "Towtruck", "Unique Vehicles", "None" }, // 525
	{ "Fortune", "Saloons", "Transfender" }, // 526
	{ "Cadrona", "Saloons", "Transfender" }, // 527
	{ "FBI Truck", "Public Service", "None" }, // 528
	{ "Willard", "Saloons", "Transfender" }, // 529
	{ "Forklift", "Unique Vehicles", "None" }, // 530
	{ "Tractor", "Industrial", "None" }, // 531
	{ "Combine Harvester", "Unique Vehicles", "None" }, // 532
	{ "Feltzer", "Convertibles", "Transfender" }, // 533
	{ "Remington", "Lowriders", "Loco Low Co" }, // 534
	{ "Slamvan", "Lowriders", "Loco Low Co" }, // 535
	{ "Blade", "Lowriders", "Loco Low Co" }, // 536
	{ "Freight (Train)", "Unique Vehicles", "None" }, // 537
	{ "Brownstreak (Train)", "Unique Vehicles", "None" }, // 538
	{ "Vortex", "Unique Vehicles", "None" }, // 539
	{ "Vincent", "Saloons", "Transfender" }, // 540
	{ "Bullet", "Sport Vehicles", "Transfender" }, // 541
	{ "Clover", "Saloons", "Transfender" }, // 542
	{ "Sadler", "Industrial", "None" }, // 543
	{ "Firetruck LA", "Public Service", "None" }, // 544
	{ "Hustler", "Unique Vehicles", "Transfender" }, // 545
	{ "Intruder", "Saloons", "Transfender" }, // 546
	{ "Primo", "Saloons", "Transfender" }, // 547
	{ "Cargobob", "Helicopters", "None" }, // 548
	{ "Tampa", "Saloons", "Transfender" }, // 549
	{ "Sunrise", "Saloons", "Transfender" }, // 550
	{ "Merit", "Saloons", "Transfender" }, // 551
	{ "Utility Van", "Industrial", "None" }, // 552
	{ "Nevada", "Airplane", "None" }, // 553
	{ "Yosemite", "Industrial", "None" }, // 554
	{ "Windsor", "Convertibles", "Transfender" }, // 555
	{ "Monster \"A\"", "Off Road", "None" }, // 556
	{ "Monster \"B\"", "Off Road", "None" }, // 557
	{ "Uranus", "Sport Vehicles", "Wheel Arch Angels" }, // 558
	{ "Jester", "Sport Vehicles", "Wheel Arch Angels" }, // 559
	{ "Sultan", "Saloons", "Wheel Arch Angels" }, // 560
	{ "Stratum", "Station Wagons", "Wheel Arch Angels" }, // 561
	{ "Elegy", "Saloons", "Wheel Arch Angels" }, // 562
	{ "Raindance", "Helicopters", "None" }, // 563
	{ "RC Tiger", "RC Vehicles", "None" }, // 564
	{ "Flash", "Sport Vehicles", "Wheel Arch Angels" }, // 565
	{ "Tahoma", "Lowriders", "Loco Low Co" }, // 566
	{ "Savanna", "Lowriders", "Loco Low Co" }, // 567
	{ "Bandito", "Off Road", "None" }, // 568
	{ "Freight Flat Trailer (Train)", "Trailers", "None" }, // 569
	{ "Streak Trailer (Train)", "Trailers", "None" }, // 570
	{ "Kart", "Unique Vehicles", "None" }, // 571
	{ "Mower", "Unique Vehicles", "None" }, // 572
	{ "Dune", "Off Road", "None" }, // 573
	{ "Sweeper", "Unique Vehicles", "None" }, // 574
	{ "Broadway", "Lowriders", "Transfender" }, // 575
	{ "Tornado", "Lowriders", "Loco Low Co" }, // 576
	{ "AT400", "Airplane", "None" }, // 577
	{ "DFT-30", "Industrial", "None" }, // 578
	{ "Huntley", "Off Road", "Transfender" }, // 579
	{ "Stafford", "Saloons", "Transfender" }, // 580
	{ "BF-400", "Bikes", "None" }, // 581
	{ "Newsvan", "Industrial", "None" }, // 582
	{ "Tug", "Unique Vehicles", "None" }, // 583
	{ "Petrol Trailer", "Trailers", "None" }, // 584
	{ "Emperor", "Saloons", "Transfender" }, // 585
	{ "Wayfarer", "Bikes", "None" }, // 586
	{ "Euros", "Sport Vehicles", "Transfender" }, // 587
	{ "Hotdog", "Unique Vehicles", "None" }, // 588
	{ "Club", "Sport Vehicles", "Transfender" }, // 589
	{ "Freight Box Trailer (Train)", "Trailers", "None" }, // 590
	{ "Article Trailer 3", "Trailers", "None" }, // 591
	{ "Andromada", "Airplane", "None" }, // 592
	{ "Dodo", "Airplane", "None" }, // 593
	{ "RC Cam", "RC Vehicles", "None" }, // 594
	{ "Launch", "Boats", "None" }, // 595
	{ "Police Car (LSPD)", "Public Service", "None" }, // 596
	{ "Police Car (SFPD)", "Public Service", "None" }, // 597
	{ "Police Car (LVPD)", "Public Service", "None" }, // 598
	{ "Police Ranger", "Public Service", "None" }, // 599
	{ "Picador", "Industrial", "Transfender" }, // 600
	{ "S.W.A.T.", "Public Service", "None" }, // 601
	{ "Alpha", "Sport Vehicles", "Transfender" }, // 602
	{ "Phoenix", "Sport Vehicles", "Transfender" }, // 603
	{ "Glendale Shit", "Saloons", "None" }, // 604
	{ "Sadler Shit", "Industrial", "None" }, // 605
	{ "Baggage Trailer \"A\"", "Trailers", "None" }, // 606
	{ "Baggage Trailer \"B\"", "Trailers", "None" }, // 607
	{ "Tug Stairs Trailer", "Trailers", "None" }, // 608
	{ "Boxville", "Industrial", "None" }, // 609
	{ "Farm Trailer", "Trailers", "None" }, // 610
	{ "Utility Trailer", "Trailers", "None" } // 611
};

stock IsSuccesTuning( carid, componentid )
{
	new model = GetVehicleModel(carid) - 400;
	new tun = componentid - 1000;
	if(!VehicleInfo[carid][vTuning]) return false;
	if(!IsACar(carid)) return false;
    if(strcmp(CarsInfo[model][csName], TunsInfo[tun][tgCars], true) == 0)
    {
        return true;
    }
    else if(strfind( TunsInfo[tun][tgCars], CarsInfo[model][csMods], true) != -1)
    {
        return true;
    }
    else if(IsACar(carid) && (IsACarTuning(tun) || IsACarPlaneTuning(tun)) )
    {
        return true;
    }
    return false;
}

stock IsACarTuning(tun)
{
	return !strcmp(TunsInfo[tun][tgCars], "Most cars", true);
}

stock IsACarPlaneTuning(tun)
{
	return !strcmp(TunsInfo[tun][tgCars], "Most cars, planes, helicopters", true);
}
