Forum

> > CS2D > Scripts > Reset score script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Reset score script

12 replies
To the start Previous 1 Next To the start

old Reset score script

Crash13
User Off Offline

Quote
Hi all! I made a script All works fine, i was rank 1... when i wrote: @rs then my rank: 3, becouse my score from rank was reseted too, why? Sorry for mistakes, Thanks.
1
2
3
4
5
6
7
8
addhook("say","reset_say")
function reset_say(id,txt)
     if (txt=="@rs") then
          parse ("setscore "..id.." 0")
          parse ("setdeaths "..id.." 0")
          parse ("sv_msg2 "..id.." ©000255000Your score was reseted!")
     end
end

How to add time for this
EX: you can't reset your score, wait 5 seconds
time limit for reste, 15 seconds
edited 8×, last 11.12.11 10:31:42 am

old Re: Reset score script

Crash13
User Off Offline

Quote
@MC_Bowlinghead The problem is: When i reset my score, the score that are in the rank menu are reseted, and my rank go down from 1 to 3

old Re: Reset score script

Yates
Reviewer Off Offline

Quote
user Seekay has written
- Download a working reset-score-script

Will not work. All reset score scripts have this problem.

Leave the game, join again. It will save your score. Only reset when you have a ridiculous death count. Simple.

old Re: Reset score script

EngiN33R
Moderator Off Offline

Quote
user Crash13 has written
Hi all! I made a script All works fine, i was rank 1... when i wrote: @rs then my rank: 3, becouse my score from rank was reseted too, why?


Because that's how it works - you can't reset your score without resetting your rank.

old Re: Reset score script

Infinite Rain
Reviewer Off Offline

Quote
Yeah, but you can make the clone of the rank.html file
and just replace it with script. I think it will work.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview