View Single Post
Author Message
drespy
Member
Join Date: Jul 2018
Old 05-13-2021 , 13:25   [CS:GO] Team Colors
Reply With Quote #1

DEPENDENCIES:
S-Downloader to precache your model files.
https://forums.alliedmods.net/showthread.php?t=269792

DESCRIPTION:
- Colorize playermodel and your color depending on which team.
- Support cvars to colorize player and models.
- Nice to Surf Combat servers.



CONVARS:
Code:
sm_playermodel_onstart_ct "models/your_path/example-ct.mdl"
sm_playermodel_onstart_tr "models/your_path/example-ts.mdl"

sm_playermodel_color_red_ct   "0"
sm_playermodel_color_green_ct "0"
sm_playermodel_color_blue_ct  "255"
sm_playermodel_color_alpha_ct  "255"

sm_playermodel_color_red_tr   "255"
sm_playermodel_color_green_tr "0"
sm_playermodel_color_blue_tr  "0"
sm_playermodel_color_alpha_tr  "255"
WARNING!
* Do not input invalid path playermodel in:
- sm_playermodel_onstart_ct
- sm_playermodel_onstart_tr
* This crashes your server !!!


Compiled with SM 1.10

- Download on GitHub
Attached Files
File Type: zip TeamColors-V1.0.zip (7.0 KB, 169 views)
File Type: smx teamcolors.smx (4.8 KB, 90 views)
File Type: sp Get Plugin or Get Source (teamcolors.sp - 230 views - 3.8 KB)
__________________
|Contact me via Steam|


Last edited by drespy; 05-17-2021 at 22:04. Reason: Increasing details to plugin
drespy is offline