Stats Set Frags/Deaths *Updated 1.7* (Contains DoD + CS)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Stats Set Frags/Deaths *Updated 1.7* (Contains DoD + CS)

Post by greenie »

Description

What this plugin does is determine a user's overall kills/deaths and sets their scores accordingly. So, if I have for example 300 kills and 123 deaths, when I join the server my score will be 300-123.

Version
1.7 (CS version) / 1.4 (DoD version)

Commands/CVARS
None, but I can add some if people would like them.

Modules Required
Csstats
Cstrike
Fun

(For DoD):
DoDStats
DoDx
DoDFun

I should be able to make one for other mods, if requested.

Errors
None known, except I am not sure how many kills/deaths are possible until the server crashes

Tested
Yes, WIN32 Server - works.

Coming
Multilingual?

Installation Instructions
Choose get plugin from the options below, and place into addons/amxmodx/plugins folder. Put setstats.amxx in the last line of your plugins.ini.

You can also choose download from the options below and manually compile. Place into addons/amxmodx/plugins folder. Put setstats.amxx in the last line of your plugins.ini.


Credits
GHW_Chronic - Coding help, DoD version.
v3x - Coding help.
Me - Idea + original, original, coding (and then the optimization which comes later ;))
Suicid3 - Finding RoundStart function.
Kraugh - Explaining runtime error problem, fixing!

Changelog
1.7 - Bug free.
1.6 - Fixed runtime error.
1.5 - Fixed bug.
1.4 - Added new event.
1.3 - Removed sv_restartround bug.

NOTE: Because of all the variety in stats functions I don't think there can be a worthwhile plugin that works for all mods, so if I make one for separate mods I'll post them

plugin
source
Post Reply

Return to “Statistical”