PHP Code:
=========================================================================================================================================================================================================================================
C:\
= Status X - AMX Mod X script. Copyright © 2023, WATCH_DOGS UNITED.
=
=========================================================================================================================================================================================================================================
=
============================ ================================================================================================= ==========================================================================================================
= Credits | | Credits Reason | | Web Address
============================ ================================================================================================= ==========================================================================================================
= | | | |
= AMX Mod X | | Plugin creation opportunity; © Copyright AMX Mod X Dev Team; | | https://www.amxmodx.org
= WATCH_DOGS UNITED | | Plugin creation; | | https://gamebanana.com/members/1725138
= Cuttlas | | Plugin creation request and bug reporting. | | https://forums.alliedmods.net/member.php?u=257185
= | | | |
============================ ================================================================================================= ==========================================================================================================
=
================
= Description |
================
=
= Use this plugin if you want to specify if the enemy, teammate, or hostage status will be visible for a specific team when aiming.
=
= Below are some of the consequences of disabling status:
=
= Disabling status could make it harder for the player to conclude who/what ()e's aiming in the darkness or other sort of obfuscation;
= Disabling status may give more concentration and naturality, or realism for the game;
= Disabling status may reduce CPU usage by a bit due to the long strings removal;
= Disabling status may reduce visual chaos;
= Disabling status may produce a more innovative gameplay.
=
= The sense of it's configuration is up to the plugin's user.
=
================
= Commands |
================
=
= sts_ct - Specifies the team status available for Counter-Terrorists. 3 = Both team status; 2 = Counter-Terrorists; 1 = Terrorists; 0 = None. Default: 3 ( Both )
= sts_t - Specifies the team status available for Terrorists. 3 = Both team status; 2 = Counter-Terrorists; 1 = Terrorists; 0 = None. Default: 3 ( Both )
=
= sts_hg - Specifies the hostage status availability for a team. 3 = Both teams; 2 = only for Counter-Terrorists; 1 = only for Terrorists. 0 = None of them. Default: 3 ( Both )
=
= Note: - Currently, when a cvar is changed, it will have effect as soon as the player aims to the opposed team or the hostages.
=
=========================================================================================================================================================================================================================================
= Changelog |
================
=
= Dec 04, 2023 - v1.0 - Initial release.
= Dec 05, 2023 - v1.1 - Fixed some issues.
=
= [ FIXED ] - Fixed wrong check for terrorists.
= [ FIXED ] - Replaced the way of checking for valid clients by a conventional way. The detection of the quitter id was incorrect and could exclude some clients.
=
=========================================================================================================================================================================================================================================