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

Team Join Management by Exolent


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-12-2008 , 03:02   Team Join Management by Exolent
Reply With Quote #1

Team Join Management
by Exolent



Intro:
  • This plugin determines what happens to a client when he/she is able to change teams.
  • You can force him/her on a team when he/she connects.
  • You can force him/her on a new team when he/she's already on one and tries to change.
  • You can block him/her from changing teams once on a team.

Cvars:
  • tjm_join_team <0|1|2|3|4>
    • The team number that the player should join:
    • 0 = Don't Auto-Join, 1 = T, 2 = CT, 3 = SPEC, 4 = Random CT or T
  • tjm_switch_team <0|1>
    • Forces the client to change teams when he/she opens the menu while already on a team.
    • 0 = OFF, 1 = ON
  • tjm_class_t <1|2|3|4|5>
    • Which model the client should use when forced to the Terrorist team.
    • 1 = Phoenix Connexion, 2 = Elite Crew, 3 = Arctic Avengers, 4 = Guerilla Warfare, 5 = Random
  • tjm_class_ct <1|2|3|4|5>
    • Which model the client should use when forced to the Counter-Terrorist team.
    • 1 = Seal Team, 2 = GSG-9, 3 = SAS, 4 = GIGN, 5 = Random
  • tjm_block_change <0|1>
    • If tjm_switch_team isn't 1, this will block the client from choosing teams.
    • 0 = Allow Team Change, 1 = Block Team Change

Credits:
  • VEN
    • For "Auto Join On Connect" code.
  • Damaged Soul
    • For "Message Logging" plugin

Changelog:
  • Version 0.1
    • Initial Release
  • Version 0.2
    • Fixed reconnect bug
  • Version 0.3
    • Fixed class number being too big for array

Current Version: 0.3
Attached Files
File Type: sma Get Plugin or Get Source (team_join.sma - 82480 views - 5.3 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-23-2008 at 04:07. Reason: Modification + Category
Exolent[jNr] is offline
 


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 05:34.


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