Raised This Month: $51 Target: $400
 12% 

[REQ]One team to two team.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 08-10-2014 , 12:46   [REQ]One team to two team.
Reply With Quote #1

Hey I need help with plugin that I need to do.
the terror team will be like two team.
if terror team is with 14 players.
7 get a red glow and the others 7 get a blue glow.
I mean team split to two teams.

Thanks for help.
ShLuMieL is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 08-11-2014 , 15:58   Re: [REQ]One team to two team.
Reply With Quote #2

And what do you want to do with the two teams? You should fully explain what you are trying to do. The request itself isn't hard, but I am sure what you are trying to do after is going to be more complicated...
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
ShLuMieL
Senior Member
Join Date: Jul 2010
Old 08-12-2014 , 08:31   Re: [REQ]One team to two team.
Reply With Quote #3

No im just want T team split to two team if there 12 player. 6 Red glow and 6 Blue Glow.
its is possible ?

Thank's

Last edited by ShLuMieL; 08-12-2014 at 08:32.
ShLuMieL is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-12-2014 , 09:09   Re: [REQ]One team to two team.
Reply With Quote #4

Code:
#include < amxmodx > #include < fun > public plugin_init( ) {     register_plugin( "T Glow", "0.1", "HamletEagle" )     register_logevent( "OnRoundStart_Event", 2, "1=Round_Start" )  } public OnRoundStart_Event( ) {     new iPlayers[ 32 ], iNum, id     get_players( iPlayers, iNum, "e", "TERRORIST" )         new iBackUp = iNum     new iValue = iBackUp/2         for( new i; i < iNum; i++ )     {         id = iPlayers[ i ]         if( iBackUp > iValue )         {             set_user_rendering( id, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 25 )             iBackUp --         }                 else         {             set_user_rendering( id, kRenderFxGlowShell, 0, 0, 255, kRenderNormal, 25 )         }     } }

Try this.
__________________
HamletEagle is offline
Reply



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 18:21.


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