Advanced ResetScore 0.2.0
2 Attachment(s)
ResetScore 0.2.0 A simple but usefull plugin: players can reset their score and money (controled by a cvar). There's a limit for score reseting and an interval between resets. Players can't reset their score if it's 0 - 0 (already reseted). Admins have a command to reset players score. Changelog 0.2.0 : - optimizated a bit - added ML support - added feature: player won't get more money than curent amount when reseting (if you have 100$ and resetscore_money cvar seted to 800, you won't receive 800$, you'll have 100$) - added feature: if you set resetscore_max cvar to 0 there will be no limit to score reseting 0.1.0 : first released Wich commands will reset the score PHP Code:
resetscore_max - how many times players can reset their score (default: 5) - if you set this cvar to 0 there is no limit to score reseting resetscore_interval - how many minutes must pass before players can reset theirs score again (default: 3) resetscore_money
Admin command amx_resetscore <target> - reset player's score Modules : Cstrike & Fun |
Re: Adanced ResetScore
So nicely coded plugin, all looks so nice
Where is plugin it self ? :mrgreen: |
Re: Adanced ResetScore
Quote:
|
Re: Adanced ResetScore
Hello. Here some suggestions you could/should change :
- Don't hook "say" if the command is simple meaning without arguments. Use register_clcmd(). It's most efficient and it will avoid unnecessary calls. - Use the define PLUGIN_HANDLED and PLUGIN_CONTINUE, not 0 and 1. It's more readable. - Why do you set twice the frags/deaths ? If it's because the scoreboard is not updated right away, I would prefer to use ScoreInfo event which makes more sense. - Using ML. |
Re: Adanced ResetScore
"- Why do you set twice the frags/deaths ? If it's because the scoreboard is not updated right away, I would prefer to use ScoreInfo event which makes more sense." I've tried using ScoreInfo but when i spawn again it show the last score before reseting...
If I use ML i have to modify the messages at "minute" / "minutes"..not all languages follow this rule. I have an idea how to change them, let's see yours. EDIT: Updated a bit. |
Re: Adanced ResetScore
Adanced or Advanced ?
|
Re: Adanced ResetScore
Quote:
|
Re: Advanced ResetScore
Opssy ^^ 10x
|
Re: Advanced ResetScore
This plugin has been made it... but this have more features, and player can't resetscore ALL the time...
Now... ppl don't have to do retry/reconnect >< Good job, i will use it this. |
Re: Advanced ResetScore
Quote:
|
All times are GMT -4. The time now is 15:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.