Player-Based CVARs
By: nikhilgupta345
Description:
</b>This plugin allows you to execute certain commands or set certain cvars when there are a certain number of players on the server. The commands are sent to the server console as soon as a player connects.
Installation:
- Click 'Get Plugin' link below
- Place 'player_amount_cvars.amxx' in addons/amxmodx/plugins/ folder
- Open addons/amxmodx/configs/plugins.ini
- Add the line 'player_amount_cvars.amxx' at the bottom
- Either create 'player_cvars.ini' on your own in the configs folder
- Set it up to your liking.
- Restart server or change map
<b>
Example 'player_cvars.ini':
</b>
- An example player_cvars.ini may look like this:
Code: [1]
mp_freezetime 2
mp_startmoney 8000
sv_gravity 200
[3]
mp_freezetime 1
mp_startmoney 1000
sv_gravity 800 - In brackets '[]', include how many players you want in the server when the commands below it execute.
Changelog:
- Code: October 12, 2011
- -v1.0-
- Initial Release
Suggestions/Comments/Feedback are welcome.
Attached Files

Wyświetl pełny artykuł