Raised This Month: $2 Target: $400
 0% 

Glow Teams


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaNaReaver
Member
Join Date: Apr 2020
Old 06-26-2020 , 21:31   Glow Teams
Reply With Quote #1

Hey AM,

I wanted to request a plugin that can help improve visibility, by glowing players based on their team (Blue for CT and Red for T). Can anyone help out with this?

Thanks
MaNaReaver is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 06-26-2020 , 22:44   Re: Glow Teams
Reply With Quote #2

Code:
#include <amxmodx> #include <cstrike> #include <fun> #include <hamsandwich> public plugin_init() {     register_plugin("Glow Teams", "1.0", "X3");     RegisterHam(Ham_Spawn, "player", "HamSpawnPost", 1); } public HamSpawnPost(id) {     if(is_user_alive(id))     {         if( cs_get_user_team( id ) == CS_TEAM_CT)             set_user_rendering(id, kRenderFxGlowShell , 0 , 0 , 255 , kRenderNormal , 16 );         else if( cs_get_user_team( id ) == CS_TEAM_T)             set_user_rendering(id, kRenderFxGlowShell , 255 , 0 , 0 , kRenderNormal , 16 );     } }
ZaX is offline
MaNaReaver
Member
Join Date: Apr 2020
Old 06-27-2020 , 09:13   Re: Glow Teams
Reply With Quote #3

Thanks Zax! <3
MaNaReaver 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 10:34.


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