Hey, guys! I'm currently trying to save somehow player's weapons when he dies. The purpose is to respawn him with the same weapons as he died (if it's even possible). So, what I tried:
- Hooking CurWeapon and looping trough get_user_weapons.
- Geting user weapons on death (probably didn't work because he is already dead...)
The problem is that I don't know how to save those weapon indexes and later give them on spawn.
Any help is appereciated.
P.S.: Took a look here, some of the information may be useful:
https://forums.alliedmods.net/showthread.php?t=182970
__________________