I am not looking into a better way of doing weapon removal per race. Rather than have all the same code repeated all over and using methods that I hope may reduce crashes I will instead try to use a 3rd party weapon restriction plugin on a player by player basis. This should actually reduce code in the races and allows us to use what should be the safest method of weapon removal by simply restricting the weapon in that plugin and then unresisting when needed.
It is also possible that I may just fine the code in here and use that but I think that using this plugin could be useful b/c it could allow us to restrict without destroying things like bombs and kits for some races.