AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Block round end, method to pick the last team standing (https://forums.alliedmods.net/showthread.php?t=308559)

edon1337 06-25-2018 12:25

Block round end, method to pick the last team standing
 
solved

maqi 06-25-2018 12:31

Re: Block round end, method to pick the last team standing
 
Not i, players[i]

Other than that, I think ur logic is fine

^SmileY 06-25-2018 12:43

Re: Block round end, method to pick the last team standing
 
Try ReHLDS, if you do not want to use it, try some cgamerules from gamedata, it is hard to elaborate a correct way

maqi 06-25-2018 12:57

Re: Block round end, method to pick the last team standing
 
Also consider putting everyone in the same team in the first place. Or some sort workaround like that. As this is for your br mode i assume, that would both allow you not to end the round and give players some clarity regarding teams ( As default ct-t teams shouldn't mean anything right )

edon1337 06-25-2018 13:24

Re: Block round end, method to pick the last team standing
 
Quote:

Originally Posted by maqi (Post 2599216)
Not i, players[i]

Other than that, I think ur logic is fine

Nice catch, I had forgotten. Thanks

Quote:

Originally Posted by ^SmileY (Post 2599220)
try some cgamerules from gamedata, it is hard to elaborate a correct way

That can be achieved with Orpheu or without?

Quote:

Originally Posted by maqi (Post 2599223)
Also consider putting everyone in the same team in the first place. Or some sort workaround like that. As this is for your br mode i assume, that would both allow you not to end the round and give players some clarity regarding teams ( As default ct-t teams shouldn't mean anything right )

I'm already aware of putting everyone in the same team if I don't find a proper way of blocking this function.

edon1337 06-25-2018 13:30

Re: Block round end, method to pick the last team standing
 
Oh my method of finding the last team standing actually worked, so happy it worked first try lol, thanks @Maqi for finding that little mistake, I hadn't scripted in months so I make a lot of mistakes like these :p

maqi 06-25-2018 13:38

Re: Block round end, method to pick the last team standing
 
No problem, thats why we are here for. Regarding the same team, I actually think that would be the best solution overall, for mutliple reasons, but thats just my opinion.

jimaway 06-25-2018 13:47

Re: Block round end, method to pick the last team standing
 
https://forums.alliedmods.net/showthread.php?t=117782
https://forums.alliedmods.net/showthread.php?p=1122356

edon1337 06-25-2018 13:59

Re: Block round end, method to pick the last team standing
 
By this,
• A whole team is exterminated ;

does he mean that if all the players in the CT or T team die, the round doesn't end? If so, that should do.

maqi 06-25-2018 13:59

Re: Block round end, method to pick the last team standing
 
Yes it does


All times are GMT -4. The time now is 12:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.