First's Zombie Helper
,.
|
Re: First's Zombie Helper
1. Create a global bool.
2. Check the player count whenever a user connects/disconnects. 3. If the count is <= 5 set the bool to "false", else set it to "true". 4. Use the bool in every function in your plugin and stop the function if the bool is "false". |
Re: First's Zombie Helper
Quote:
|
Re: First's Zombie Helper
By using the get_playersnum() function or using a global variable and adding +1 or -1 for each connect/disconnect (preferred method).
|
| All times are GMT -4. The time now is 17:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.