PDA

View Full Version : dod_swapteams


strontiumdog
01-13-2007, 06:39 PM
A plugin to swap teams and respawn players with the same kind of weapon that they had.

For example, an American player with a Garand would be swapped over to an Axis player with a Kar. Or an Axis player with a MP40 could be swapped over to a Sten if the map was British.

Commands
amx_swapteams
Manually allows admins to swap teams

CVARS
mp_autoswap_enabled <0 | 1>
Automatically swaps teams at the end of each round. Can be configured on a map by map basis

Credits
Diamond-Optic for determining map whether it's American or British
TatsuSaisei for correcting my code!

tegu
01-14-2007, 09:13 PM
Cvars and commands please??

diamond-optic
01-14-2007, 09:17 PM
no cvars.. just one command:
amx_swapteams > swap all players teams

tegu
01-14-2007, 09:18 PM
no cvars.. just one command:


Wow! Ok, so by using the command amx_swapteams both teams completely swap??

Kick butt!

Wilson [29th ID]
01-15-2007, 06:47 AM
Good idea for a plugin!

WARDOG
01-07-2008, 10:12 PM
Is there a way to code this to auto switch at the end of a round, with added cvar support?

{DwP} 325th ABN
01-08-2008, 02:26 AM
nice job will be using this one yes yes

strontiumdog
05-10-2009, 11:58 AM
Updated.
Now automatically swap teams at the end of each round.

Use mp_autoswap_enabled <0 | 1> to set it up for every map in server.cfg or for each map individually, such as Avalanche...

ismchissis
10-20-2009, 06:16 AM
Hope everyone is doing well. I'm going to read through a ton of old posts now so I can catch up on what's going on around here.


__________________
Sonnerie portable gratuit mp3 - (http://sonnerieportablegratuit.com)Sonneries portable pour mobile - (http://sonnerieportablegratuit.com)Telecharger sonneries portables gratuites (http://sonnerieportablegratuit.com/sonnerie-portable-gratuit/)