PDA

Ver la versión completa : Limite de Team 5vs5



EgerN
27/02/2012, 17:30
Estoy necesitando un plugin para limitar la cantidad de player por equipo , ejemplo cuando queden 5vs5 no puedan entrar mas jugadores y queden spec , como pusieron en los server steam de CO. Muchas gracias , un abrazo.

frenzy
27/02/2012, 17:39
Bueno esto ya lo dije en otro post, no es tan fácil de hacer, parace una boludes, contas los players bloqueas el changeteam, pero no tenes que tener muchas otras cosas en cuenta, por internet hay varios pero con bugs, de echo el que tenia antes clanco tambien estava bugeado, nada mas que tinchokz hizo uno mejor y sin bug.

Resumiendo, no creo que te lo hagan gratis a no ser que conozcas a algún scripter y te lo haga de onda, o bien tinchokz tenga ganas de hacer publico el code (cosa que no creo)

Tincho
27/02/2012, 17:40
ese plugin lo hice yo para clanco, y por cuestiones obvias no lo quiero pasar, fijate en www.amxmodx.org (tenes que usar proxy para entrar) si encontras algo parecido.

saludos

EgerN
27/02/2012, 17:48
Encontre en una pagina que decia esto

Podes hookear el cambio de team y ahi chequear cuantos players hay.
Otra, si es solo para mix pone un comando o cvar que bloquee completamente el cambio.

Código:
register_clcmd( "chooseteam", "HookChangeTeam" )
register_clcmd( "jointeam", "HookChangeTeam" )

frenzy
27/02/2012, 18:05
No es tan fácil como parece, no es hockeear la función y bloquearla

Thx
27/02/2012, 18:36
El Mix Maker 9.6 ya no tiene esa funcion incluida por defecto ?

Tincho
27/02/2012, 18:47
El Mix Maker 9.6 ya no tiene esa funcion incluida por defecto ?

el mix maker directamente te bloquea el cambio de team. el que esta en clanco bloquea el cambio de team cuando hay 5 players. si hay menos de 5 te deja ingresar.

kjll3r
28/02/2012, 14:45
Hola amigo, a mi me ayudaron antes así que voy a tratar de devolver el favor intentando ayudarte a vos.

Te encontre el plugin:


Team Limiter
Version 0.0.3
by Exolent


Description:

This plugin allows you to limit the number of Terrorists and Counter-Terrorists in each team.

Commands:

team_limits <terrorists> <counter-terrorists>
- Use -1 or * to not change the limit for a team
- Default: * *

Example usage:
team_limits 5 3 -- sets limit to 5 terrorists and 3 counter-terrorists
team_limits * 8 -- sets limit to unlimited terrorists (map limit of spawn points) and 8 counter-terrorists

Cvars:

tl_remove <remove type>
- If spawns are deleted, this determines how the excess players (more players than spawns) are handled
- 'kick' or 0 = kick players from the server, notifying them about the team limit
- 'spec' or 1 = move the players to spectator
- 'transfer' or 2 = move players to the opposite team (if there is no room on the other team, they are moved to spectator)
- Default: 'spec'
- Note: Do not use the apostrophes (') around the value. They are there just for reading purposes to understand the values.

Requirements:

- AMX Mod X version 1.8.0 or higher
- Cstrike Module
- FakeMeta Module
- HamSandwich Module

Installation:
Install the plugin normally (.amxx in plugins folder, plugin name in plugins.ini)
Set the cvars in the amxx.cfg
Restart server or change map so the plugin is running and sets the limits


Changelog:

Version 0.0.1
- Initial release.

Version 0.0.2
- Changed command to cvar and sets limits on map start.

Version 0.0.3
- Changed cvar back to command
- Added cvar for handling excess players

Version 0.1.0 (beta)
- Changed the spawn limit method to limit joining team method
- Added player limit check on round start in case other plugins move players to a team

Please report any bugs you find (that aren't talked about in this post already).
Also, feel free to make suggestions in order to better this plugin.

Get Plugin (http://proxyweb.com.es/browse.php?u=Oi8vd3d3LmFteG1vZHgub3JnL3BsY29tcGlsZ XJfdmIuY2dpP2ZpbGVfaWQ9NzMyNzQ%3D&b=13) or Get Source (http://proxyweb.com.es/browse.php?u=Oi8vZm9ydW1zLmFsbGllZG1vZHMubmV0L2F0d GFjaG1lbnQucGhwP3M9OGVjM2RjN2FjMDhhMDI5ZDRhZDExMjg zNmE2MTdjMjcmYXR0YWNobWVudGlkPTczMjc0JmQ9MTI4NDI2M Tc2Mw%3D%3D&b=13) (team_limiter.sma - 1519 views - 9.7 KB)
Get Plugin (http://proxyweb.com.es/browse.php?u=Oi8vd3d3LmFteG1vZHgub3JnL3BsY29tcGlsZ XJfdmIuY2dpP2ZpbGVfaWQ9ODg5NTA%3D&b=13) or Get Source (http://proxyweb.com.es/browse.php?u=Oi8vZm9ydW1zLmFsbGllZG1vZHMubmV0L2F0d GFjaG1lbnQucGhwP3M9OGVjM2RjN2FjMDhhMDI5ZDRhZDExMjg zNmE2MTdjMjcmYXR0YWNobWVudGlkPTg4OTUwJmQ9MTMxMDYwM zU2MQ%3D%3D&b=13) (team_limiter_beta.sma - 257 views - 7.8 KB)





Fuente: Click aca (http://proxyweb.com.es/browse.php?u=Oi8vZm9ydW1zLmFsbGllZG1vZHMubmV0L3Nob 3d0aHJlYWQucGhwP3Q9MTE1Mjgx&b=13)

frenzy
28/02/2012, 15:27
Ese se bugea en las paredes xD

EgerN
28/02/2012, 18:11
Tiene un bug qu eno me deja elegir el equipo