View Single Post
Author Message
000
Member
Join Date: Jul 2022
Old 07-11-2022 , 08:54   [CS:GO/CS:S] Player Fade
Reply With Quote #1

Description:
This plugin will set a minimum and maximum fading distance when the player has spawned.
When the minimum distance is reached, the player starts to fade.
If the maximum distance is reached, player will be completely invisible.

Requirements:
SourceMod 1.11+

Installation:
- Put all files from the release folder in your game root folder ("csgo").
- Reload map.

If the plugin is not working as intended, check your logs in addons/sourcemod/logs and report here.
If error logs are not available, report nevertheless.

Configuration:
Plugin will generate a config file in cfg/sourcemod.

PHP Code:
// Minimum distance before the Player starts to fade.
-
// Default: "400.0"
sm_fade_min_distance "400.0"

// Maximum distance before the Player is completely invisible.
-
// Default: "600.0"
sm_fade_max_distance "600.0" 
Changelog:
Code:
- v1.0
  • Initial release.
- v1.1
  • Polishing.

Last edited by DarkDeviL; 06-15-2023 at 12:44. Reason: Restore to previous version.
000 is offline