Force reconnect according to K/D ratio - 0.2

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

Force reconnect according to K/D ratio - 0.2

Post by greenie »

Force reconnect according to K/D ratio, v0.2 - by v3x


Description:
Tired of people stat whoring on your server? Well you can now control it a bit with this plugin! Once somebody has achieved a certain kill/death ratio over X amount of kills they will be forced to reconnect exactly 3 seconds after they are told about it.

Cvars:
- mp_ratio 4.99
That would make someone reconnect after they've achieved over a 4.99 k/d ratio ( so 5.00 ).
- mp_ratio_kills 25
If the player has achieved the ratio and has that many kills he'll be forced to reconnect.
- mp_ratio_immunity 1
If set to 1 it'll ignore players with the immunity ( flag "a" ). Otherwise set to 0.

Client commands:
- say /ratio
Displays their current ratio in chat.
Note: The player will be notified via console about this command after he is connected.

Requirements:
- AMXX 1.70+
- Cstrike module

plugin
source
Post Reply

Return to “Statistical”