RSSy MYGO.pl Opublikowano Lipiec 11, 2020 o 01:12 RSSy Udostępnij Opublikowano Lipiec 11, 2020 o 01:12 I did it for myself and decided to share it. Compilation requires SM1.10 Advantages: Afk = 1. Checking the buttons (IN_MOVELEFT IN_MOVERIGHT) at the angle of rotation. 2. Working on DM servers. 3. Check for camping depends on the check for afk, so that does not bear a special burden in contrast to its predecessors. 4. Killing a player when transferring to the afk, occurs only if he is the last in the team. Anticamp = 1. Checking the installed bomb. 2. Checking the presence of a knife in your hands. 3. Checking the shift key. If anyone has any suggestions, or who does not like anything in the code, I will be happy to listen. Cvars: Spoiler GLOBAL: // After how many seconds to check afk/png/camp the player. sm_pc_check_interval "5.0" // Time to show warining message. sm_pc_warn_interval "15.0" // User warn sound sm_pc_warn_sound "ui/menu_invalid.wav" // Plugin tag sm_pc_plugin_tag "[{lightgreen}Player Checker{default}] " AFK: // Immunity afk: 1 kick, 2 move and kick. Set 0 to disable. sm_pc_afk_immune_enable "2" // Flag for afk immunity (example: 'pza') sm_pc_afk_immune_flag "p" // After how many seconds to delete the player. sm_pc_afk_kick_interval "290.0" // Minimum number of players to kick. sm_pc_afk_kick_min_players "10" // After how many seconds to move spec the player. sm_pc_afk_move_interval "40.0" // The distance (units) that the player must go to remove checks. sm_pc_afk_origin_threshold "40.0" ANTICAMP: // Set 0 to enable checks of all commands permanently. sm_pc_anticamp_matchmaking "1" // Set it to 0 to disable checking the knife in the player hands. sm_pc_anticamp_check_knife "1" // Set 0 to disable anticamp. sm_pc_anticamp_enable "1" // Set 0 to disable immunity anticamp. sm_pc_anticamp_immune_enable "1" // Flag for anticamp immunity (example: 'pza') sm_pc_anticamp_immune_flag "p" // Set 0 to disable check shift. sm_pc_anticamp_in_speed "0" // The amount of times a suspected camper is checked for sm_pc_anticamp_interval "30.0" // The amount of health that should not be penalized. Set to 0 to ignore the parameter. sm_pc_anticamp_minhealth "20" // The camp punishment type. (0 = Fade, 1 = Kill, 2 = Slay) sm_pc_anticamp_punishment_type "0" // The distance (units) to check for camping. sm_pc_anticamp_radius "130.0" PING: // Set 0 to disable ping check. sm_pc_ping_check_enable "1" // Set 0 to disable immunity ping. sm_pc_ping_immune_enable "1" // Flag for ping immunity (example: 'pza') sm_pc_ping_immune_flag "p" // Number of max checks ping after kick. sm_pc_ping_max_checks "10" // Max ping allowed. sm_pc_ping_max_ping "150" Requirements: c0rp3n/colorlib-sm (Already in the archive) Git: https://github.com/SAZONISCHE/player-checker Attached Files player-checker.zip (26.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi