Raised This Month: $ Target: $400
 0% 

Advanced ResetScore 0.2.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   Hawk552 (427)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 09-15-2009 , 07:11   Advanced ResetScore 0.2.0
Reply With Quote #1

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:
new const gs_Commands[ ][ ] =
{
    
"say /resetscore",
    
"say /restartscore"
}; 
Cvars
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
  • -2 = don't set
  • -1 = set at mp_startmoney value
  • another number will set to that value (e.g 0)
(default: -1)

Admin command
amx_resetscore <target> - reset player's score

Modules : Cstrike & Fun
Attached Files
File Type: sma Get Plugin or Get Source (resetscore.sma - 28986 views - 5.0 KB)
File Type: txt resetscore.txt (2.9 KB, 14676 views)
__________________


Last edited by anakin_cstrike; 10-03-2009 at 20:29.
anakin_cstrike is offline
 


Thread Tools
Display Modes

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 02:47.


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