It save all values of round statistics when player death, and restore it when player respawn.
So, you don't loose your round stat when e.g., somebody use admin. command sm_respawn or if you use some plugin that can call SDKCall to respawn player manually.
Settings:
l4d_repawn_stat_enable - Enable RespawnStat plugin (1 - On / 0 - Off)
l4d_repawn_stat_team (default - 4) - What team should statistics be saved for (4 - Survivors only, 8 - Infected only, 16 - Both)
Using:
Copy l4d_RespawnStat.smx to addons/sourcemod/plugins
Respect:
SilverShot - for providing list of statistics properties and initial code for saving/loading stat for each player.
cravenge - list of L4d2 properties
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon
- BitCoin
- Ю.Money