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

Mix Selection 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-15-2011 , 16:09   Mix Selection 1.0
Reply With Quote #1

MixSelection
1.0
by Neeeeeeeeeel.-



Post in english:

Description:
When the admin active this plugin, all de players goes to spec, then he has to select one capitan for each team, the both capitans have to do a knife round, the capitan winner select the first teammate, when the ten players are selected the plugins end and you can start a "mix"

Basically its to better organaize in mixs
(Sorry for my bad english)

Admin commands:
Code:
say /cortar - All the players goes to spect and the plugin starts say /publico - If one capitan or player dissconect yo can stop the plugin with this command
Cvars:
Code:
ms_enabled 1/0 (default: 1) - Turn on/off ms_min_players (default: 10) - The minimum ammount of player to start
Credits:
Marcelo21 - Gave me the idea
meTaLiCroSS - I used this https://forums.alliedmods.net/showthread.php?t=90269
shinoda - He help me with a loop to open the teammates menu to the other capitan when the first select a player
lucas_7_94 - Some fixs and cvar to show servers running this plugin

Multilang:
ES - Neeeeeeeeeel.-
EN - Neeeeeeeeeel.-
BP - TheArmagedon
RO - DjOptimuS


Post en español:

Descripción:
Cuando un admin activa este plugin todos los jugadores se pasan a espectadores y al admin le aparece un menú para elegir un capitán para cada equipo, después los dos capitanes hacen una ronda de cuchillo, el que gana elige primero a su primer compañero después el otro y así hasta que los dos equipos tienen cinco jugadores cada uno. Y ahí termina el plugin y el admin puede empesar el mix.

El plugin es para facilitar la selección de compañeros y la ronda de cuchillo para ver quien elige primero.

Comandos de admin:
Code:
say /cortar - Todos los jugadores se tranfieren a espectadores y empieza el plugin say /publico - Si un capitan o jugador se desconecta podes volver todo a la normalidad con este comando
Cvars:
Code:
ms_enabled 1/0 (Por defecto: 1) - Prender/Apagar el plugin ms_min_players (Por defecto: 10) - La menor cantidad de jugadores para poder usar el plugin
Credits:
Marcelo21 - El me dió la idea
meTaLiCroSS - Usé este tutorial: https://forums.alliedmods.net/showthread.php?t=90269
shinoda - Me dió un loop para abrirle el menú al capitan contrario cuando el primero elegia a su teammate
lucas_7_94 - Algunos fixs y me dió una cvar para ver los servers que usan este plugin

Multilenguaje:
ES - Neeeeeeeeeel.-
EN - Neeeeeeeeeel.-
BP - TheArmagedon
RO - DjOptimuS


Saludos y espero que les guste.
Attached Files
File Type: sma Get Plugin or Get Source (MixSelection.sma - 2119 views - 12.3 KB)
File Type: txt MixSelection.txt (5.4 KB, 894 views)

Last edited by Neeeeeeeeeel.-; 05-22-2011 at 20:40.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Marcelo21
Member
Join Date: Mar 2010
Location: Argentina
Old 04-15-2011 , 18:08   Re: Mix Selection 1.0
Reply With Quote #2

Very good, I was testing


Last edited by Marcelo21; 04-15-2011 at 18:13.
Marcelo21 is offline
Send a message via MSN to Marcelo21 Send a message via Skype™ to Marcelo21
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-15-2011 , 18:09   Re: Mix Selection 1.0
Reply With Quote #3

In this section you must write in english
Now i will fix it.

Off: Solo podes contestar en inglés.

Edit: Fixed, thank you.

Last edited by Neeeeeeeeeel.-; 04-15-2011 at 18:18.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 04-15-2011 , 22:46   Re: Mix Selection 1.0
Reply With Quote #4

1_ : The Whole Description should be in english.
2_ : Check if the attacker is a valid player.
3_ :
Code:
public Check() {     if(!equal(AUTHOR, "Neeeeeeeeeel.-"))     {         set_fail_state("Error")         return     } }

I think its rebundant.

4_
Code:
for(new i = 1; i <= 32; i++)
Why make 32 loops when you cached the g_maxplayers ?
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-16-2011 , 00:19   Re: Mix Selection 1.0
Reply With Quote #5

1) I dont understand
</br>2) is_user_connected ?
</br> 3) Deleted
</br>4) Fixed Thank you (:
</br>Edit: The forum works bad ¬¬

Last edited by Neeeeeeeeeel.-; 04-16-2011 at 00:34.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 04-16-2011 , 05:18   Re: Mix Selection 1.0
Reply With Quote #6

#ES: El thread tiene que ser en ingles solamente. , y 1 < id < g_maxplayers creo que era asi si mal no recuerdo para chequear conecta , a su vez intenta usar las publics tambien en ingles.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-16-2011 , 19:20   Re: Mix Selection 1.0
Reply With Quote #7

I can post in two languages, i look it here: http://forums.alliedmods.net/showthread.php?t=21956 "You can include you description in the other language, but having the description in English is a must" I dont understand why i've to check if is a valid player... what kind of bug can do?

Last edited by Neeeeeeeeeel.-; 04-19-2011 at 12:47.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 04-16-2011 , 20:16   Re: Mix Selection 1.0
Reply With Quote #8

possible bugs maybe.

And in Ham_Spawn , should check if the player is alive too.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-16-2011 , 21:21   Re: Mix Selection 1.0
Reply With Quote #9

Quote:
Originally Posted by lucas_7_94 View Post
possible bugs maybe.

And in Ham_Spawn , should check if the player is alive too.
Fixed, thanks.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-20-2011 , 14:08   Re: Mix Selection 1.0
Reply With Quote #10

-Some fixes with commands /cut and /public

Last edited by Neeeeeeeeeel.-; 04-20-2011 at 16:29.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
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 03:55.


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