What im thinking is hooking events: item_pickup & item_equip.
https://wiki.alliedmods.net/Counter-...ts#item_pickup
but it says Every time an item is picked up (generally weapons), so which means its a post event and it can't change to pre?
Inaddition, there is a event called item_equip, but i tried to hook it and block it, it doesnt work... instead of doing this.
https://forums.alliedmods.net/showthread.php?t=111058
I try this event because the method that thread mentions is not quite suitable for me, because that method will let the player pick up weapons and remove it without removing the entity, which means the server console keep spamming entity error... what can i do?
Sorry for my bad explanation.