Raised This Month: $ Target: $400
 0% 

Team glow for 5 secs...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zenith77
Veteran Member
Join Date: Aug 2005
Old 05-26-2006 , 15:38  
Reply With Quote #10

If you post code, please post code that is sensible. (OMG, I swear I'm going to shoot this computer, it keeps formating everything !!)

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #define PLUGIN “Team Glow” #define VERSION “1.0” #define AUTHOR “Zenith77” #define TASK_GLOW 1234567489 new bool:glow = true; public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR);             set_task(5.0, “DoGlow”, TASK_GLOW, “”, 0, “b”); } public DoGlow() {     new maxPlayers = get_maxplayers();     new i;     new CsTeams:team;     for(i = 1; i < maxPlayers; i++) {         if(!is_user_connected(i) || !is_user_alive(i))             continue;         team = cs_get_user_team(id);                                 if(glow) {                                          if(team == CS_TEAM_T)                     set_user_rendering(id,kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 25);                                          else if(team == CS_TEAM_CT)                                        set_user_rendering(id, kRenderFxGlowShell, 0, 255, 0, kRenderNormal, 25);                                                                           else                                            set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderNormal, 25);                   }                   glow = !glow; }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
 



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 16:32.


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