- Set limits by weapon or weapon class
- Set different limits for red/blue and/or a server-wide limit
- Configurable by configuration file or by commands
- Ability to whitelist players by their steam ID - whitelisted players can always equip the weapons specified in their whitelist entry(s)
- weaplimit_enabled <1|0>
- enable/disable the plugin
- weaplimit_addlimit
- add an entry to the limit table
- weaplimit_printlimits
- print all entries in the limit table to the console
- weaplimit_removelimit
- remove the specified limit from the limit table
- weaplimit_addwhitelist
- add an entry to the whitelist table
- weaplimit_printwhitelist
- print all entries in the whitelist table to the console
- weaplimit_removewhitelist
- remove the specified whitelist entry from the whitelist table
- weaplimit_enabled 1
- enable the plugin
- weaplimit_addlimit -1 -1 2 scout unknown tf_weapon_scattergun
- add a limit for blue team scouts of 2 weapons belonging to the "tf_weapon_scattergun" weapon class
- weaplimit_addlimit 4 -1 -1 unknown unknown 142
- add a limit for all players of 4 "Gunslinger" weapons, regardless of player class
- weaplimit_addlimit -1 3 3 unknown secondary tf_weapon_shotgun
- add a limit for each team of 3 weapons belonging to the "tf_weapon_shotgun" weapon class
- weaplimit_removelimit 1
- remove the limit entry with a key of '1' from the limit table
- weaplimit_addwhitelist STEAM_0:0:12345678 unknown -1
- add the player with the specified steam id to the whitelist for all weapons
- weaplimit_addwhitelist STEAM_0:0:12345678 primary -1
- add the player with the specified steam id to the whitelist for all primary slot weapons
- weaplimit_removewhitelist 2
- remove the whitelist entry with a key of '2' from the whitelist table
- See attached weapon_limits.cfg file.
Wyświetl pełny artykuł