Well i tested it but it didn't work. Well it worked but instead of removing weapons only 1 time it keeps checking for guns.
In game you will here the constant refreshing of weapons. (clicking sound). So if somebody can figure out what's wrong with the code