SHARE
TWEET

[C++]

a guest Sep 11th, 2019 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const char * GetCleanWeaponName(const char* raw)
  2. {
  3.     if (strstr(raw, "ump45"))
  4.         return "UMP 45";
  5.     else if (strstr(raw, "defaultweapon"))
  6.         return "HAX!";
  7.     else if (strstr(raw, "44magnum"))
  8.         return "44 Magnum";
  9.     else if (strstr(raw, "usp45"))
  10.         return "USP 45";
  11.     else if (strstr(raw, "riotshield"))
  12.         return "Riot Shield";
  13.     else if (strstr(raw, "deserteagle"))
  14.         return "Desert Eagle";
  15.     else if (strstr(raw, "mp412"))
  16.         return "MP412";
  17.     else if (strstr(raw, "p99"))
  18.         return "P99";
  19.     else if (strstr(raw, "fnfiveseven"))
  20.         return "Five Seven";
  21.     else if (strstr(raw, "fmg9"))
  22.         return "FMG9";
  23.     else if (strstr(raw, "skorpion"))
  24.         return "Skorpion";
  25.     else if (strstr(raw, "g18"))
  26.         return "G18";
  27.     else if (strstr(raw, "mp5"))
  28.         return "MP5";
  29.     else if (strstr(raw, "m9"))
  30.         return "M9";
  31.     else if (strstr(raw, "p90"))
  32.         return "P90";
  33.     else if (strstr(raw, "mp7"))
  34.         return "MP7";
  35.     else if (strstr(raw, "m16"))
  36.         return "M16";
  37.     else if (strstr(raw, "m4"))
  38.         return "M4";
  39.     else if (strstr(raw, "fad"))
  40.         return "FAD";
  41.     else if (strstr(raw, "type95"))
  42.         return "Type 95";
  43.     else if (strstr(raw, "scar"))
  44.         return "SCAR-L";
  45.     else if (strstr(raw, "mk14"))
  46.         return "MK-14";
  47.     else if (strstr(raw, "pp90m1"))
  48.         return "PP90M1";
  49.     else if (strstr(raw, "acr"))
  50.         return "ACR";
  51.     else if (strstr(raw, "ak47"))
  52.         return "AK47";
  53.     else if (strstr(raw, "mk46"))
  54.         return "MK46";
  55.     else if (strstr(raw, "mp9"))
  56.         return "MP9";
  57.     else if (strstr(raw, "g36c"))
  58.         return "G36C";
  59.     else if (strstr(raw, "cm901"))
  60.         return "CM901";
  61.     else if (strstr(raw, "rpg"))
  62.         return "RPG";
  63.     else if (strstr(raw, "smaw"))
  64.         return "SMAW";
  65.     else if (strstr(raw, "stinger"))
  66.         return "Stinger";
  67.     else if (strstr(raw, "javelin"))
  68.         return "Javelin";
  69.     else if (strstr(raw, "xm25"))
  70.         return "XM25";
  71.     else if (strstr(raw, "dragunov"))
  72.         return "Dragunov";
  73.     else if (strstr(raw, "msr"))
  74.         return "MSR";
  75.     else if (strstr(raw, "barrett"))
  76.         return "Barrett 50. Cal";
  77.     else if (strstr(raw, "rsass"))
  78.         return "RSASS";
  79.     else if (strstr(raw, "as50"))
  80.         return "AS50";
  81.     else if (strstr(raw, "l96a1"))
  82.         return "L96A1";
  83.     else if (strstr(raw, "ksg"))
  84.         return "KSG";
  85.     else if (strstr(raw, "1887_mp"))
  86.         return "Model 1887";
  87.     else if (strstr(raw, "striker"))
  88.         return "Striker";
  89.     else if (strstr(raw, "aa12"))
  90.         return "AA12";
  91.     else if (strstr(raw, "usas12"))
  92.         return "USAS12";
  93.     else if (strstr(raw, "spas12"))
  94.         return "SPAS 12";
  95.     else if (strstr(raw, "iw5_m60"))
  96.         return "M60";
  97.     else if (strstr(raw, "pecheneg"))
  98.         return "Pecheneg";
  99.     else if (strstr(raw, "sa80"))
  100.         return "SA80";
  101.     else if (strstr(raw, "mg36"))
  102.         return "MG36";
  103.     else
  104.         return "Unknown";
  105. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top