Facebook
From Sweet Hornbill, 8 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 153
  1. stock GetComponentName(component)
  2. {
  3.         new modname[50];
  4.         switch(component)
  5.         {
  6.            case 1000: format(modname, sizeof(modname), "Pro Spoiler");
  7.            case 1001: format(modname, sizeof(modname), "Win Spoiler");
  8.            case 1002: format(modname, sizeof(modname), "Drag Spoiler");
  9.            case 1003: format(modname, sizeof(modname), "Alpha Spoiler");
  10.            case 1004: format(modname, sizeof(modname), "Champ Scoop");
  11.            case 1005: format(modname, sizeof(modname), "Fury Scoop");
  12.            case 1006: format(modname, sizeof(modname), "Roof Scoop");
  13.            case 1007: format(modname, sizeof(modname), "Right Sideskirt");
  14.            case 1008: format(modname, sizeof(modname), "Nitrous x5");
  15.            case 1009: format(modname, sizeof(modname), "Nitrous x2");
  16.            case 1010: format(modname, sizeof(modname), "Nitrous x10");
  17.            case 1011: format(modname, sizeof(modname), "Race Scoop");
  18.            case 1012: format(modname, sizeof(modname), "Worx Scoop");
  19.            case 1013: format(modname, sizeof(modname), "Round Fog Lights");
  20.            case 1014: format(modname, sizeof(modname), "Champ Spoiler");
  21.            case 1015: format(modname, sizeof(modname), "Race Spoiler");
  22.            case 1016: format(modname, sizeof(modname), "Worx Spoiler");
  23.            case 1017: format(modname, sizeof(modname), "Left Sideskirt");
  24.            case 1018: format(modname, sizeof(modname), "Upswept Exhaust");
  25.            case 1019: format(modname, sizeof(modname), "Twin Exhaust");
  26.            case 1020: format(modname, sizeof(modname), "Large Exhaust");
  27.            case 1021: format(modname, sizeof(modname), "Medium Exhaust");
  28.            case 1022: format(modname, sizeof(modname), "Small Exhaust");
  29.            case 1023: format(modname, sizeof(modname), "Fury Spoiler");
  30.            case 1024: format(modname, sizeof(modname), "Square Fog Lights");
  31.            case 1025: format(modname, sizeof(modname), "Offroad Wheels");
  32.            case 1026, 1036, 1047, 1056, 1069, 1090: format(modname, sizeof(modname), "Right Alien Sideskirt");
  33.            case 1027, 1040, 1051, 1062, 1071, 1094: format(modname, sizeof(modname), "Left Alien Sideskirt");
  34.            case 1028, 1034, 1046, 1064, 1065, 1092: format(modname, sizeof(modname), "Alien Exhaust");
  35.            case 1029, 1037, 1045, 1059, 1066, 1089: format(modname, sizeof(modname), "X-Flow Exhaust");
  36.            case 1030, 1039, 1048, 1057, 1070, 1095: format(modname, sizeof(modname), "Right X-Flow Sideskirt");
  37.            case 1031, 1041, 1052, 1063, 1072, 1093: format(modname, sizeof(modname), "Left X-Flow Sideskirt");
  38.            case 1032, 1038, 1054, 1055, 1067, 1088: format(modname, sizeof(modname), "Alien Roof Vent");
  39.            case 1033, 1035, 1053, 1061, 1068, 1091: format(modname, sizeof(modname), "X-Flow Roof Vent");
  40.            case 1042: format(modname, sizeof(modname), "Right Chrome Sideskirt");
  41.            case 1099: format(modname, sizeof(modname), "Left Chrome Sideskirt");
  42.            case 1043, 1105, 1114, 1127, 1132, 1135: format(modname, sizeof(modname), "Slamin Exhaust");
  43.            case 1044, 1104, 1113, 1126, 1129, 1136: format(modname, sizeof(modname), "Chrome Exhaust");
  44.            case 1050, 1058, 1139, 1146, 1158, 1163: format(modname, sizeof(modname), "X-Flow Spoiler");
  45.            case 1049, 1060, 1138, 1147, 1162, 1164: format(modname, sizeof(modname), "Alien Spoiler");
  46.            case 1073: format(modname, sizeof(modname), "Shadow Wheels");
  47.            case 1074: format(modname, sizeof(modname), "Mega Wheels");
  48.            case 1075: format(modname, sizeof(modname), "Rimshine Wheels");
  49.            case 1076: format(modname, sizeof(modname), "Wires Wheels");
  50.            case 1077: format(modname, sizeof(modname), "Classic Wheels");
  51.            case 1078: format(modname, sizeof(modname), "Twist Wheels");
  52.            case 1079: format(modname, sizeof(modname), "Cutter Wheels");
  53.            case 1080: format(modname, sizeof(modname), "Stitch Wheels");
  54.            case 1081: format(modname, sizeof(modname), "Grove Wheels");
  55.            case 1082: format(modname, sizeof(modname), "Import Wheels");
  56.            case 1083: format(modname, sizeof(modname), "Dollar Wheels");
  57.            case 1084: format(modname, sizeof(modname), "Trance Wheels");
  58.            case 1085: format(modname, sizeof(modname), "Atomic Wheels");
  59.            case 1086: format(modname, sizeof(modname), "Stereo");
  60.            case 1087: format(modname, sizeof(modname), "Hydraulics");
  61.            case 1096: format(modname, sizeof(modname), "Ahab Wheels");
  62.            case 1097: format(modname, sizeof(modname), "Virtual Wheels");
  63.            case 1098: format(modname, sizeof(modname), "Access Wheels");
  64.            case 1100: format(modname, sizeof(modname), "Chrome Grill");
  65.            case 1101: format(modname, sizeof(modname), "Left Chrome Flames Sideskirt");
  66.            case 1102, 1107: format(modname, sizeof(modname), "Left Chrome Strip Sideskirt");
  67.            case 1103: format(modname, sizeof(modname), "Convertible Roof");
  68.            case 1106, 1124: format(modname, sizeof(modname), "Left Chrome Arches Sideskirt");
  69.            case 1108, 1133, 1134: format(modname, sizeof(modname), "Right Chrome Strip Sideskirt");
  70.            case 1109: format(modname, sizeof(modname), "Chrome Rear Bullbars");
  71.            case 1110: format(modname, sizeof(modname), "Slamin Rear Bullbars");
  72.            case 1111, 1112: format(modname, sizeof(modname), "Front Sign");
  73.            case 1115: format(modname, sizeof(modname), "Chrome Front Bullbars");
  74.            case 1116: format(modname, sizeof(modname), "Slamin Front Bullbars");
  75.            case 1117, 1174, 1179, 1182, 1189, 1191: format(modname, sizeof(modname), "Chrome Front Bumper");
  76.            case 1175, 1181, 1185, 1188, 1190: format(modname, sizeof(modname), "Slamin Front Bumper");
  77.            case 1176, 1180, 1184, 1187, 1192: format(modname, sizeof(modname), "Chrome Rear Bumper");
  78.            case 1177, 1178, 1183, 1186, 1193: format(modname, sizeof(modname), "Slamin Rear Bumper");
  79.            case 1118: format(modname, sizeof(modname), "Right Chrome Trim Sideskirt");
  80.            case 1119: format(modname, sizeof(modname), "Right Wheelcovers Sideskirt");
  81.            case 1120: format(modname, sizeof(modname), "Left Chrome Trim Sideskirt");
  82.            case 1121: format(modname, sizeof(modname), "Left Wheelcovers Sideskirt");
  83.            case 1122: format(modname, sizeof(modname), "Right Chrome Flames Sideskirt");
  84.            case 1123: format(modname, sizeof(modname), "Bullbar Chrome Bars");
  85.            case 1125: format(modname, sizeof(modname), "Bullbar Chrome Lights");
  86.            case 1128: format(modname, sizeof(modname), "Vinyl Hardtop Roof");
  87.            case 1130: format(modname, sizeof(modname), "Hardtop Roof");
  88.            case 1131: format(modname, sizeof(modname), "Softtop Roof");
  89.            case 1140, 1148, 1151, 1156, 1161, 1167: format(modname, sizeof(modname), "X-Flow Rear Bumper");
  90.            case 1141, 1149, 1150, 1154, 1159, 1168: format(modname, sizeof(modname), "Alien Rear Bumper");
  91.            case 1142: format(modname, sizeof(modname), "Left Oval Vents");
  92.            case 1143: format(modname, sizeof(modname), "Right Oval Vents");
  93.            case 1144: format(modname, sizeof(modname), "Left Square Vents");
  94.            case 1145: format(modname, sizeof(modname), "Right Square Vents");
  95.            case 1152, 1157, 1165, 1170, 1172, 1173: format(modname, sizeof(modname), "X-Flow Front Bumper");
  96.            case 1153, 1155, 1160, 1166, 1169, 1171: format(modname, sizeof(modname), "Alien Front Bumper");
  97.            
  98.         }
  99.         return modname;
  100. }