Hi everybody,
1) I'm trying to code an instant player respawn plugin but I'm running into weird problems already. After intensive web/forum-searching I decided to use the spawn() function, however I noticed strange things - the player always leaves behind a crowbar and a 9mm pistol after respawning:
Screenshot
Is there any explanation to this? How can I avoid spawning extra weapon entities?
2) The second part of my code slays all players and respawns them instantly. The problem is that my server often crashes with "
ED_Alloc: no free edicts" error, especially when there is a lot of people playing. Any idea on how to fix this?
Thanks a lot!