Raised This Month: $51 Target: $400
 12% 

How to swap team scores every round?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jay7
Senior Member
Join Date: Jun 2004
Old 05-21-2019 , 07:49   How to swap team scores every round?
Reply With Quote #1

Looking for a simple code that would swap team scores every round. Anybody?
jay7 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-21-2019 , 08:15   Re: How to swap team scores every round?
Reply With Quote #2

Hook Ham_Spawn, use get_user_team to find player's team. If it returned 1, use cs_set_user_team with CS_TEAM_CT, if it returned 2 call cs_set_user_team with CS_TEAM_T.
__________________
HamletEagle is offline
jay7
Senior Member
Join Date: Jun 2004
Old 05-21-2019 , 08:44   Re: How to swap team scores every round?
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
Hook Ham_Spawn, use get_user_team to find player's team. If it returned 1, use cs_set_user_team with CS_TEAM_CT, if it returned 2 call cs_set_user_team with CS_TEAM_T.
I’m more looking for it on Roundstart or hltv new round. Ham_spawn won’t work with respawn mods such as what I’m using. Also, I think you’re suggesting team swap rather than score swap? I’m looking for both but haven’t found a plugin that flawlessly does both. Connor released an orpheu version years back but it throws errors with bad orpheu sigs but somewhat works however.

https://forums.alliedmods.net/showthread.php?t=155667

Link to his plugin if anyone wants to update it.

Last edited by jay7; 05-21-2019 at 09:53.
jay7 is offline
Reply



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 22:53.


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