ROUNDSLEFT v.2
Hi,
I have making a version 2 of this plugin:
http://forums.alliedmods.net/showthread.php?p=67909
The changes:
- The rounds messages left, appear in white in the center of the screen's bottom like the TIMELEFT plugin.
- The messages appear only on rounds: 90 - 80 - 70 - 60 - 50 - 20 -10 - 5 - 1 (=last round)
- Say in the chat: round, rounds, roundleft, roundsleft. For see the rounds left.
- The plugin was been test for go to 20 rounds. His maximum rounds is 90 (or see the messages and listen the sounds)
Code:
new const PLUGINNAME[] = "Roundsleft"
new const VERSION[] = "2.4"
new const AUTHOR[] = "MisterJ"
/*
THANKS
========
Johnny got his gun : He created the concept and made the first version.
ROUNDSLEFT
==========
Allows the users to "say roundsleft" and remaining rounds will be displayed.
This is useful if you are using default hlds cvar mp_maxrounds set to some value.
There is also a command "amx_roundsleft" to view remaining rounds in console.
HOW TO INSTALL
==============
1. Name this file roundsleft.sma.
2. Compile it into roundsleft.amxx.
3. Put roundsleft.amxx into amxmodx/plugins directory.
4. Open up amxmodx/configs/plugins.ini and add a line to the end saying: roundsleft.amx
5. Done. Type reload in your server.
HOW TO USE
==========
say roundsleft, say rounds, say roundleft, say round
- all these will respond with remaining rounds if mp_maxrounds is set to anything higher than 0.
amx_roundsleft
- displays remaining rounds in console. Works also from server console.
VERSION
========
2.4
*/
#include <amxmodx>
#include <amxmisc>
#include <engine>
Recommendation:
I advice you to deactive the timeleft.amxx or change his CVAR to 0.