AMXX plugin - Captains
$30-250 USD
Paid on delivery
not sure where to post this as it is not exactly c/c++ lol
this is amxx / pawn code so if anyone understands/have previously
coded amxx before. please bid ahead
preferable a member of [url removed, login to view]
this is a plugin for counter-strike to sort/pick the players
---
2 random captains are picked when someone does the !captains command
[only able to do this when the players = 10. otherwise it will display "10 Players Required"]
one capt for T
one capt for CT
the two captains get a menu that shows up listing all the current players
when this menu comes up. no1 else but the two captains can use say / say_team.
everyone else is gagged [no typing/do not use hud_showtext] but sv_alltalk 1 will be turned on so people can talk.
1. matt
2. bob
3. james
4. peter
5. jack
6. john
7. killa
8. monster
0. Random Pick
and the two captains have to pick 4 players. they take turns picking in rotation. 5secs limit a pick. if they dont pick within the 5secs. a player is auto selected for them.
when they pick a player. the amxx announces it
etc
for time limit auto pick it will announce it as
Matt [CT] has selected Bob (auto)
normal looks like
Matt [CT] has selected Bob
after the 2 captains have finished picking the players, the plugin then moves the players to the correct teams and announces "TEAMS ARE SET". etc llol
now sv_alltalk wil be turned to 0
and everyone else can now chat now (say/say_team)
also !captains is only allowed to be run ONCE per map
"Error. teams are already set"
meaning if someone has executed the command. it cant be run again till server restarts or changelevel/restart etc
also if during the pick. a player disconnects
it will continue on with 1 team getting 1 less player
etc
if a player joined in. or more players join in
those players will not be displayed on the list
just the previous 9 players
or something. not sure which method is best
dynamic or etc
Project ID: #361815