Change to Forceswap command - Printable Version +- Dinkleberg's GMod (https://www.dinklebergsgmod.com/site) +-- Forum: Prop Hunt (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=4) +--- Forum: PH Suggestions & Help (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=11) +--- Thread: Change to Forceswap command (/showthread.php?tid=12853) |
Change to Forceswap command - RussEfarmer - 10-20-2020 This simple change to the ULX Forceswap command allows it to swap people out of unassigned onto a team. I'm not sure why you'd need to do this, but Travis said it would be cool, so I made it. Download Code: function ulx.forceswap( calling_ply, target_ply ) For the record, the original was made by Yeezy Jeezy. I am not a programmer, I stole most of what I added from the gmod wiki and the lua manual. If wanted, I can change this command to offset the negative kill and death added to the scoreboard. RE: Change to Forceswap command - Deer-ly - 10-20-2020 +1 RE: Change to Forceswap command - lacer - 10-21-2020 I miss Yeezy, he was cool |