View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-01-2011 , 04:17   Re: Request plugin : Team ratio
Reply With Quote #4

I made a new version which only handles the team ratio when someone joins/switches teams.
It's basically the same thing as the one you linked for SourceMod.

Cvars:
  • tjr_enabled <0|1>
    - 0=Disable team ratio
    - 1=Enforce team ratio
    - Default: 1
  • tjr_ratio <ratio>
    - 1=no ratio (should set plugin to disabled instead)
    - This value is the number of terrorist for each ct.
    - For example, setting this to 3 would mean 1CT:3T
    - Default: 3

It is untested with a bunch of players but it was tested by myself to make sure it should work correctly.
Attached Files
File Type: sma Get Plugin or Get Source (team_join_ratio.sma - 1070 views - 3.1 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline