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

[REQ] Simple Config Exec Based on Number of Players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrBlip
Junior Member
Join Date: Jul 2008
Old 09-29-2008 , 16:59   [REQ] Simple Config Exec Based on Number of Players
Reply With Quote #1

I need a plugin that will execute a certain config based on the number of players. I have some experience with SourceMod (I wrote this plugin, with help from bl4nk), so if someone could at least point me in the right direction, like what functions I would need to use, what commands, etc.

The plugin can be as simple as:
  • If playercount <= x, then exec lowcount.cfg
  • If playercount > x, then exec highcount.cfg
Thanks in advance.
MrBlip is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 09-29-2008 , 17:33   Re: [REQ] Simple Config Exec Based on Number of Players
Reply With Quote #2

Tsunami already created a plugin that does this if i'm not mistaken

http://forums.alliedmods.net/showthr...config+execute
__________________
r3dh3adkid is offline
MrBlip
Junior Member
Join Date: Jul 2008
Old 09-29-2008 , 20:29   Re: [REQ] Simple Config Exec Based on Number of Players
Reply With Quote #3

Aha! Thanks. I searched around but couldn't find anything (I guess that's because I used players rather then clients).
MrBlip is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 09-29-2008 , 20:46   Re: [REQ] Simple Config Exec Based on Number of Players
Reply With Quote #4

Glad I could help
__________________
r3dh3adkid is offline
Reply



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 16:40.


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