If you're not matching the weapons you obviously need to edit your input to match it.
Here's a list of weapon names in the game. The mp5 differs from mp5 and mp5navy depending on what function is used.
Code:
new const g_Weapons[33][] = {
"", "p228", "shield", "scout", "hegrenade",
"xm1014","c4", "mac10", "aug", "smokegrenade",
"elite", "fiveseven", "ump45", "sg550", "galil",
"famas", "usp", "glock18", "awp", "mp5",
"m249", "m3", "m4a1", "tmp", "g3sg1",
"flashbang", "deagle", "sg552", "ak47", "knife",
"p90", "kevlar", "assault"
};