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

Auto join team that works with Gun Game Respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ghostdlr
Senior Member
Join Date: Aug 2010
Old 04-07-2024 , 08:01   Auto join team that works with Gun Game Respawn
Reply With Quote #1

I'm writing a plugin and I want to force a user into a team based on my own auto balance algorithm.

So far I tried the code from 'Auto Join on Connect" plugin by VEN. It's the most simple plugin I could find. Others are very complex and it's hard to separate only the auto join team code so I can easily use it.

Apparently, there are issues with Gun Game that prevents users from respawning sometimes.
https://forums.alliedmods.net/showthread.php?p=708588

I want the user class to be selected automatically also. The fix described in the topic above just opens the select class menu and user has to click on the class buttons manually.

Can anyone help me with some auto join code that works?

Last edited by ghostdlr; 04-07-2024 at 08:08.
ghostdlr is offline
ghostdlr
Senior Member
Join Date: Aug 2010
Old 04-07-2024 , 08:14   Re: Auto join team that works with Gun Game Respawn
Reply With Quote #2

Never mind. I think I made a mistake.

I just got the code to work with the fix suggested in that topic.
ghostdlr is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 04-07-2024 , 16:45   Re: Auto join team that works with Gun Game Respawn
Reply With Quote #3

regamedll includes a cvar for that mp_auto_join_team
__________________
mlibre 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 12:57.


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