Raised This Month: $7 Target: $400
 1% 

[CS:GO] Team Flash Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Plugin ID:
6871
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Players will not be flashed by their teammates.
    Old 12-25-2019 , 09:19   [CS:GO] Team Flash Protection
    Reply With Quote #1

    Description: Players will not be flashed by their teammates.

    Overrides:
    Code:
    Add "NoTeamFlash" override in admin_overrides.cfg to give access to players with specific flag.
    ConVars:
    Code:
    sm_teamflash_protection 1 // Protect players against flashes made by their teammates?
    GitHub: https://github.com/Ilusion9/teamflash-protection-sm
    __________________

    Last edited by Ilusion9; 02-13-2020 at 12:57.
    Ilusion9 is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 12-28-2019 , 09:39   Re: [CS:GO] Anti team flash
    Reply With Quote #2

    L 12/28/2019 - 11:17:42: [SM] Exception reported: Array index out-of-bounds (index 314, limit 66)
    L 12/28/2019 - 11:17:42: [SM] Blaming: notf.smx
    L 12/28/2019 - 11:17:42: [SM] Call stack trace:
    L 12/28/2019 - 11:17:42: [SM] [1] Line 57, /groups/sourcemod/upload_tmp/textvY7RUO.sp::Event_FlashbangDetonate
    L 12/28/2019 - 11:40:00: Error log file session closed.
    L 12/28/2019 - 12:53:25: SourceMod error session started
    L 12/28/2019 - 12:53:25: Info (map "de_dust2") (file "/home/sid_1221901/csgo/csgo/addons/sourcemod/logs/errors_20191228.log")
    L 12/28/2019 - 12:53:25: [SM] Exception reported: Array index out-of-bounds (index 310, limit 66)
    L 12/28/2019 - 12:53:25: [SM] Blaming: notf.smx
    L 12/28/2019 - 12:53:25: [SM] Call stack trace:
    L 12/28/2019 - 12:53:25: [SM] [1] Line 57, /groups/sourcemod/upload_tmp/textvY7RUO.sp::Event_FlashbangDetonate
    L 12/28/2019 - 13:43:49: Error log file session closed.
    L 12/28/2019 - 13:55:10: SourceMod error session started
    L 12/28/2019 - 13:55:10: Info (map "de_dust2") (file "/home/sid_1221901/csgo/csgo/addons/sourcemod/logs/errors_20191228.log")
    L 12/28/2019 - 13:55:10: [SM] Exception reported: Array index out-of-bounds (index 350, limit 66)
    L 12/28/2019 - 13:55:10: [SM] Blaming: notf.smx
    L 12/28/2019 - 13:55:10: [SM] Call stack trace:
    L 12/28/2019 - 13:55:10: [SM] [1] Line 57, /groups/sourcemod/upload_tmp/textvY7RUO.sp::Event_FlashbangDetonate
    L 12/28/2019 - 14:43:57: [SM] Exception reported: Array index out-of-bounds (index 338, limit 66)
    L 12/28/2019 - 14:43:57: [SM] Blaming: notf.smx
    L 12/28/2019 - 14:43:57: [SM] Call stack trace:
    L 12/28/2019 - 14:43:57: [SM] [1] Line 57, /groups/sourcemod/upload_tmp/textvY7RUO.sp::Event_FlashbangDetonate
    L 12/28/2019 - 14:46:41: Error log file session closed.
    asdfxD is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 12-28-2019 , 10:16   Re: [CS:GO] Anti team flash
    Reply With Quote #3

    Updated. Try now.
    __________________
    Ilusion9 is offline
    cyziek
    Junior Member
    Join Date: Jan 2018
    Old 01-03-2020 , 05:18   Re: [CS:GO] Anti team flash
    Reply With Quote #4

    Can you make plugin working only for players with specific flag?
    cyziek is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 01-06-2020 , 06:10   Re: [CS:GO] Anti team flash
    Reply With Quote #5

    Quote:
    Originally Posted by cyziek View Post
    Can you make plugin working only for players with specific flag?
    Yes
    To give access only for players with specific flag: add "NoTeamFlash" override in configs/admin_overrides.cfg.
    __________________
    Ilusion9 is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 02-15-2020 , 04:40   Re: [CS:GO] Team Flash Protection
    Reply With Quote #6

    Updated.

    Code:
    The thrower team will be obtained when the player throws the flashbang.
    The remaining flash time will be obtained with the help of GetGameTime function.
    __________________

    Last edited by Ilusion9; 02-15-2020 at 04:50.
    Ilusion9 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:53.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode