View Single Post
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-11-2018 , 14:51   [L4D1 & L4D2] Respawn Statistics Fixer
Reply With Quote #1

Description:
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
Attached Files
File Type: sp Get Plugin or Get Source (l4d_RespawnStat.sp - 1210 views - 8.6 KB)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-15-2021 at 08:50. Reason: new version
Dragokas is offline