View Single Post
Author Message
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 07-18-2017 , 16:24   [CSGO / ANY?] Hide Other Players
Reply With Quote #1

Hide Other Players

Description:
A simple plugin to hide players, can configurable with cvars.

Version:
1.0: First release.
1.1: Fixed the main error.
1.2: Added mute weapon option(thx to norxtem)
1.3: Players will hear enemies weapon sounds(thx to VaLaKi)
1.4: Fixed a bug that causes to mute sounds of enemies.

Cvars:
Config file is located in: cfg/sourcemod/sm_hide
  • sm_hideplayers_enable - Enable/Disable plugin.
  • sm_hideplayers_only_admin - Set plugin for only admins or any player.
  • sm_hideplayers_only_teammates - Hide players if they're on client team. Or hide all players
  • sm_hideplayers_mutesounds - Mute other players weapons sound from client when hide activated

Commands:
  • sm_hide
  • sm_hideplayers

Enable/disable hide

NOTE: This plugin made for CS:GO and not tested on any other game.

For TF2 you may want to look at JoinedSenses' version:
https://github.com/JoinedSenses/TF2-Hide

There is a advanced version developed by xSL0W. It also contains some of my codes from the plugin on this thread. I'm adding it to attachments as sm_hide_advanced if anybody is interested.
Attached Files
File Type: sp Get Plugin or Get Source (sm_hide.sp - 719 views - 5.1 KB)
File Type: smx sm_hide.smx (6.7 KB, 197 views)
File Type: sp Get Plugin or Get Source (sm_hide_advanced.sp - 280 views - 11.2 KB)
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792

Last edited by stephen473; 04-11-2021 at 12:52.
stephen473 is offline