Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const char * GetCleanWeaponName(const char* raw)
- {
- if (strstr(raw, "ump45"))
- return "UMP 45";
- else if (strstr(raw, "defaultweapon"))
- return "HAX!";
- else if (strstr(raw, "44magnum"))
- return "44 Magnum";
- else if (strstr(raw, "usp45"))
- return "USP 45";
- else if (strstr(raw, "riotshield"))
- return "Riot Shield";
- else if (strstr(raw, "deserteagle"))
- return "Desert Eagle";
- else if (strstr(raw, "mp412"))
- return "MP412";
- else if (strstr(raw, "p99"))
- return "P99";
- else if (strstr(raw, "fnfiveseven"))
- return "Five Seven";
- else if (strstr(raw, "fmg9"))
- return "FMG9";
- else if (strstr(raw, "skorpion"))
- return "Skorpion";
- else if (strstr(raw, "g18"))
- return "G18";
- else if (strstr(raw, "mp5"))
- return "MP5";
- else if (strstr(raw, "m9"))
- return "M9";
- else if (strstr(raw, "p90"))
- return "P90";
- else if (strstr(raw, "mp7"))
- return "MP7";
- else if (strstr(raw, "m16"))
- return "M16";
- else if (strstr(raw, "m4"))
- return "M4";
- else if (strstr(raw, "fad"))
- return "FAD";
- else if (strstr(raw, "type95"))
- return "Type 95";
- else if (strstr(raw, "scar"))
- return "SCAR-L";
- else if (strstr(raw, "mk14"))
- return "MK-14";
- else if (strstr(raw, "pp90m1"))
- return "PP90M1";
- else if (strstr(raw, "acr"))
- return "ACR";
- else if (strstr(raw, "ak47"))
- return "AK47";
- else if (strstr(raw, "mk46"))
- return "MK46";
- else if (strstr(raw, "mp9"))
- return "MP9";
- else if (strstr(raw, "g36c"))
- return "G36C";
- else if (strstr(raw, "cm901"))
- return "CM901";
- else if (strstr(raw, "rpg"))
- return "RPG";
- else if (strstr(raw, "smaw"))
- return "SMAW";
- else if (strstr(raw, "stinger"))
- return "Stinger";
- else if (strstr(raw, "javelin"))
- return "Javelin";
- else if (strstr(raw, "xm25"))
- return "XM25";
- else if (strstr(raw, "dragunov"))
- return "Dragunov";
- else if (strstr(raw, "msr"))
- return "MSR";
- else if (strstr(raw, "barrett"))
- return "Barrett 50. Cal";
- else if (strstr(raw, "rsass"))
- return "RSASS";
- else if (strstr(raw, "as50"))
- return "AS50";
- else if (strstr(raw, "l96a1"))
- return "L96A1";
- else if (strstr(raw, "ksg"))
- return "KSG";
- else if (strstr(raw, "1887_mp"))
- return "Model 1887";
- else if (strstr(raw, "striker"))
- return "Striker";
- else if (strstr(raw, "aa12"))
- return "AA12";
- else if (strstr(raw, "usas12"))
- return "USAS12";
- else if (strstr(raw, "spas12"))
- return "SPAS 12";
- else if (strstr(raw, "iw5_m60"))
- return "M60";
- else if (strstr(raw, "pecheneg"))
- return "Pecheneg";
- else if (strstr(raw, "sa80"))
- return "SA80";
- else if (strstr(raw, "mg36"))
- return "MG36";
- else
- return "Unknown";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement