It was likely desync and the server thought you had cheated in those weapons and what you had did not match what the server thought you should have.
Whenever you pick up guns or whatever legit it tells the server i picked up this gun and this much ammo then it keeps track of that later incase it needs to take it away or give it back to you. It also can see if you have obtained weapons using cheats as it won't tell the server that you picked them up using a scripted feature or system. If the client is desynced it might decide to just.... NOT report anything to the server at all and now it thinks you are cheating.