Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-25-2018 , 12:25   Block round end, method to pick the last team standing
Reply With Quote #1

solved
__________________

Last edited by edon1337; 06-28-2018 at 12:51.
edon1337 is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-25-2018 , 12:31   Re: Block round end, method to pick the last team standing
Reply With Quote #2

Not i, players[i]

Other than that, I think ur logic is fine
__________________
stuff

Last edited by maqi; 06-25-2018 at 12:47.
maqi is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-25-2018 , 13:24   Re: Block round end, method to pick the last team standing
Reply With Quote #3

Quote:
Originally Posted by maqi View Post
Not i, players[i]

Other than that, I think ur logic is fine
Nice catch, I had forgotten. Thanks

Quote:
Originally Posted by ^SmileY View Post
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 View Post
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 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-25-2018 , 12:43   Re: Block round end, method to pick the last team standing
Reply With Quote #4

Try ReHLDS, if you do not want to use it, try some cgamerules from gamedata, it is hard to elaborate a correct way
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-25-2018 , 12:57   Re: Block round end, method to pick the last team standing
Reply With Quote #5

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 )
__________________
stuff

Last edited by maqi; 06-25-2018 at 12:58.
maqi is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-25-2018 , 13:30   Re: Block round end, method to pick the last team standing
Reply With Quote #6

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
__________________
edon1337 is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-25-2018 , 13:38   Re: Block round end, method to pick the last team standing
Reply With Quote #7

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.
__________________
stuff

Last edited by maqi; 06-25-2018 at 13:39.
maqi is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 06-25-2018 , 13:47   Re: Block round end, method to pick the last team standing
Reply With Quote #8

https://forums.alliedmods.net/showthread.php?t=117782
https://forums.alliedmods.net/showthread.php?p=1122356
jimaway is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-25-2018 , 13:59   Re: Block round end, method to pick the last team standing
Reply With Quote #9

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.
__________________
edon1337 is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-25-2018 , 13:59   Re: Block round end, method to pick the last team standing
Reply With Quote #10

Yes it does
__________________
stuff
maqi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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