Nume: SM Warn

Descriere: Acest plugin este special pentru admini pentru a avertiza un player care incalca regulile.

Versiune: 1.1.0

Autor: - 

Cvar-uri necesare:  // This file was auto-generated by SourceMod (v1.4.7-dev)

// ConVars for plugin "SM_warn.smx"

 

 

// Time to ban target: 0 - permanent

// -

// Default: "1"

sm_warn_banlength "1"

 

// Log the admin commands: 0 - disabled, 1 - enabled

// -

// Default: "1"

// Minimum: "0.000000"

// Maximum: "1.000000"

sm_warn_logwarnings "1"

 

// Action to set when a player reach max warnings: 1 - kick, 2 - ban

// -

// Default: "1"

// Minimum: "1.000000"

// Maximum: "2.000000"

sm_warn_max_punishment "1"

 

// Set max warnings reached before action

// -

// Default: "3"

// Minimum: "1.000000"

// Maximum: "10.000000"

sm_warn_maxwarns "3"

 

// Show a motd panel to client on warn: 0 - disabled, 1 - enabled

// -

// Default: "0"

// Minimum: "0.000000"

// Maximum: "1.000000"

sm_warn_motdpanel "0"

 

// Titel of the motd page that will popup

// -

// Default: "SM warn panel titel"

sm_warn_motdpaneltitel "SM warn panel titel"

 

// Path to the motd panel that will popup

// -

// Default: ""

sm_warn_motdpanelurl ""

 

// Print previous warnings on connect to admins: 0 - disabled, 1 - enabled

// -

// Default: "1"

// Minimum: "0.000000"

// Maximum: "1.000000"

sm_warn_printtoadmins "1"

 

// Action to set when a player gets a warning: 1 - message player, 2 - slap player and message, 3 - slay player and message, 4 - Popup agreement and message, 5 - kick player with reason, 6 - ban player with reason

// -

// Default: "4"

// Minimum: "1.000000"

// Maximum: "6.000000"

sm_warn_punishment "4"

 

// Reset warnings when they reach the max warnings: 0 - Keep warnings, 1 - Delete warnings

// -

// Default: "0"

// Minimum: "0.000000"

// Maximum: "1.000000"

sm_warn_reset_warnings "0"

 

// Slap player with damage: 0 - no damage

// -

// Default: "0"

// Minimum: "0.000000"

// Maximum: "100.000000"

sm_warn_slapdamage "0"

 

// Play a sound when a user receives a warning: 0 - disabled, 1 - enabled

// -

// Default: "1"

// Minimum: "0.000000"

// Maximum: "1.000000"

sm_warn_warnsound "1"

 

// Path to the sound that will play when a user receives a warning

// -

// Default: "sound/buttons/weapon_cant_buy.wav"

sm_warn_warnsoundpath "buttons/weapon_cant_buy.wav"

Module: -

Instalare:  Pune fisierul smx in (addons/sourcemod/plugins/)

Pune translations in (addons/sourcemod/translations/)

Pune cele de mai jos in (addons/sourcemod/configs/)

- sm_warn_reasons.cfg

- sm_unwarn_reasons.cfg

- sm_resetwarn_reasons.cfg

- sm_warn_agreement.cfg

Pune SM_warn.cfg in (cfg/sourcemod/)

Download:  https://github.com/ecca/SourceMod-Plugins