bump
still havent figured this out..
This is whats in the cfg file..
To view the latest information, see:
http://forums.alliedmods.net/showthread.php?t=57377
* Author(s): Shane A. ^BuGs^ Froebel
*
*
* File: configs/ratiolimit/plugin.ratiolimit.cfg
*
**/
"RatioLimit"
{
"Config"
{
"CheckFrags" "1"
"GlobalRatio" "3:1"
"MinFrags" "20"
"CheckMidRound" "1"
"EnableRatioDebug" "0"
}
"Items"
{
"deagle" "1"
"m3" "1"
"xm1014" "1"
"galil" "1"
"ak47" "1"
"scout" "1"
"sg552" "1"
"awp" "1"
"g3sg1" "1"
"famas" "1"
"m4a1" "1"
"aug" "1"
"sg550" "1"
"mac10" "1"
"tmp" "1"
"mp5navy" "1"
"ump45" "1"
"p90" "1"
"m249" "1"
}
}
And this is whats in the read me:
Ratio Limit Item
This script will restrict a user to certain items if they
go over their KDR ratio set forth in the config file.
Use at your OWN risk! Please submit your changes of this
script to Shane. Known issues/Submit bug reports at:
http://bugs.alliedmods.net/?project=9&do=index
Thanks.
Name of Author: Shane A. Froebel
Credits: #sourcemod on irc.gamesurge.com
Website:
http://bugssite.org
E-mail:
[email protected]
Credit to who helped create this plugin...
* BAILOPAN - Sourcemod/Help/Issue List And SVN Hosting
* theY4Kman - Testing Guy
Setup:
Inside the plugin.ratiolimit.cfg file you have to place items that will fall under
restriction under "Items". Each item must be on a new line. Items that you don't
want checked, you do not need to add them. They are false by default otherwise.
Each item must be in the:
"itemalias" "1"
...format to work.
If you want to have a spelized check for an item, it sill must go in the items list,
but you must create it's own key.
"deagle"
{
"CustomRatio" "4:1"
"MinFrags" "20"
"CheckMidRound" "1"
}
Global Var Descriptions:
"CheckFrags" "1" -- Enable Checking (You can always override the CVAR ingame)
"GlobalRatio" "3:1" -- What the global ratio. It must be in X:X format. Zero's can not exist.
"MinFrags" "20" -- This is the min amount of frags the user must have for it to check.
"CheckMidRound" "1" -- Enable/Disable checking while playing the game. If they hit their ratio while playing, it will kick the items out.
"EnableRatioDebug" "0" -- Enable/Disable this for debugging. Requested by the author if someone goes crazy.
Items Var Descriptions:
All three must exist!
"CustomRatio" "4:1" -- What the item's ratio should be to disable
"MinFrags" "20" -- The min amount of frags the user must have for it to check
"CheckMidRound" "1" -- Enable/Disable checking while playing the game. If they hit their ratio while playing, it will kick the items out.
so with all that in mind.. would this be correct:
"RatioLimit"
{
"Config"
{
"CheckFrags" "1"
"GlobalRatio" "3:1"
"MinFrags" "20"
"CheckMidRound" "1"
"EnableRatioDebug" "0"
}
"Items"
{
"deagle" "1"
"m3" "1"
"xm1014" "1"
"galil" "1"
"ak47" "1"
"scout" "1"
"sg552" "1"
"awp" "1"
"awp"
{
"CustomRatio" "2:1"
"MinFrags" "10"
"CheckMidRound" "0"
}
"g3sg1" "1"
{
"CustomRatio" "1:1"
"MinFrags" "10"
"CheckMidRound" "0"
}
"famas" "1"
"m4a1" "1"
"aug" "1"
"sg550" "1"
{
"CustomRatio" "1:1"
"MinFrags" "10"
"CheckMidRound" "0"
}
"mac10" "1"
"tmp" "1"
"mp5navy" "1"
"ump45" "1"
"p90" "1"
"m249" "1"
}
}
__________________