AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Mix Selection 1.0 (https://forums.alliedmods.net/showthread.php?t=154943)

Neeeeeeeeeel.- 04-15-2011 16:09

Mix Selection 1.0
 
2 Attachment(s)
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.

Marcelo21 04-15-2011 18:08

Re: Mix Selection 1.0
 
Very good, I was testing

http://i52.tinypic.com/ilywqf.jpg

Neeeeeeeeeel.- 04-15-2011 18:09

Re: Mix Selection 1.0
 
In this section you must write in english
Now i will fix it.

Off: Solo podes contestar en inglés.

Edit: Fixed, thank you.

lucas_7_94 04-15-2011 22:46

Re: Mix Selection 1.0
 
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 ?

Neeeeeeeeeel.- 04-16-2011 00:19

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

lucas_7_94 04-16-2011 05:18

Re: Mix Selection 1.0
 
#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.

Neeeeeeeeeel.- 04-16-2011 19:20

Re: Mix Selection 1.0
 
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?

lucas_7_94 04-16-2011 20:16

Re: Mix Selection 1.0
 
possible bugs maybe.

And in Ham_Spawn , should check if the player is alive too.

Neeeeeeeeeel.- 04-16-2011 21:21

Re: Mix Selection 1.0
 
Quote:

Originally Posted by lucas_7_94 (Post 1451732)
possible bugs maybe.

And in Ham_Spawn , should check if the player is alive too.

Fixed, thanks.

Neeeeeeeeeel.- 04-20-2011 14:08

Re: Mix Selection 1.0
 
-Some fixes with commands /cut and /public


All times are GMT -4. The time now is 21:04.

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