map check
I have a small plugin which changes to 'default' map if there no players found in server.
I would like to hear some improvements for this plugin. I'm thinking of changing mp_timelimit to 0 when map is default and no players found and change it back to 35 when somebody connects. But the problem is that if nobody connects to server for more than 35mins after connection server will instantly change the map. What alternatives could i do becouse of that? PHP Code:
|
Re: map check
Check in client_disconnect(id) only.
Try this: (Not tested) PHP Code:
|
| All times are GMT -4. The time now is 10:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.