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

Force certain team join from web


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 06-17-2018 , 20:28   Force certain team join from web
Reply With Quote #1

I know that back in the days there were gather websites where i could choose ct or t.

When 10 people have choisen then everyone joined that specific team which they choosen.

My question is how was it made? Tell me how it worked so i can understand the logic behind it.
4ever16 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-17-2018 , 20:47   Re: Force certain team join from web
Reply With Quote #2

The website saves a list of steam ID's as well as what team they are assigned.

A plugin will take care of reading the list (usually, such things are well done via MySQL!), and assigns each player to the team they should be on once they join.

The plugin also listens and ensure that players cannot move them self into the incorrect team, with the normal team handling of the game.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 06-17-2018 at 20:48.
DarkDeviL 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 18:07.


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