I ran the
original plugin that I gave you and it seems to work just fine. I see that you removed some of the things that were in the original plugin, namely the line that has the comment: "I found this is needed to use weapons for a forced spawn.". Seems like that might be important.
I'm running on Linux so I can't be sure it's not a Windows thing but if you can attach your full plugin (or a smaller working plugin that still exhibits the unwanted behavior) so that I can test on my Linux server and see if it happens on Linux also.
__________________