nhttps://www.dodplugins.net/forums/showthread.php?t=763
nFor background on what this plugin is supposed to do...
n
nThis is what I've coded based on our talking Bosta, it is glitchy at best, I'd really like someone to look over it and make some suggestions - basically, we find out if user is alive/not, kill if they are, switch them to the team desired, and set their class (check map info for british/american), then spawn them.
nThe team switch, class switch and respawn are in a task with timer of 0.1 - these respawns sometimes work, sometimes don't - but without them, it's unreliable to just use the reinforcement counter...
nBasically, I need help with the respawning correctly.
n
nAlso, this is something I cannot control or find away around:
nSwitching people into spec works perfectly. Switching people out does not work, and is not supposed to according to dod_set_user_team()'s documentation
n
nAnyone is free to try this out - it doesn't crash my server, but it does not work well. Download the source, and read the comments for the commands:
namx_shift <1/2/3 (allies/axis/spec)> forces all players to a team
namx_spectate
namx_allies
namx_axis
namx_rifle
n
nThe rifle one also works fine it seems, but again no guarantees - someone please review and correct!

