Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

Scorebaord Reset

by MBosta · 2007-07-23 · 11 replies · 6077 views · 9 downloads

Read the thread (12 posts)

From the first post

A plugin when executed it would reset the scoreboard. Gets annoying when having to change the map and wait for everyone to join the server again. I'm not too sure if could be done, having the cvar take effect without reseting the map.

Added later in the thread

dod_resetscores.sma Plugin Source 1 KB 9 dl Download Compile

The thread

All 12 posts from 3 people on Scorebaord Reset, kept as they were written.

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-23-2007, 06:53 PM #1

A plugin when executed it would reset the scoreboard. Gets annoying when having to change the map and wait for everyone to join the server again. I'm not too sure if could be done, having the cvar take effect without reseting the map.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-24-2007, 08:13 AM #2

take a look at "DoD RestartRound"!rnrnIt will:rnrn- set all players kills to 0rn- set all players deaths to 0rn- set all players scores to 0rn- set the TeamScores to 0rn- reset the state of the Flagsrn- respawns all users like after a normal round

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-24-2007, 10:24 AM #3

Not quite what I had in mind, but it gets the job done. Thanks.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-24-2007, 10:53 AM #4
Not quite what I had in mind, but it gets the job done. Thanks.
rnrnlet me know what exactly you want, shouldn't be a problemrnto modify it a bit for your needs.

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-24-2007, 11:35 AM #5

Just typing like amx_clearboard or something, and the scoreboard will get wiped clean without having to restart round; if possible. It'll be like "MBosta has wiped the scoreboard clean!" when the command is executed.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-24-2007, 12:02 PM #6
Just typing like amx_clearboard or something, and the scoreboard will get wiped clean without having to restart round; if possible. It'll be like "MBosta has wiped the scoreboard clean!" when the command is executed.
rnrnhere you go, console command is:rnamx_resetscoresrnrnenjoy!

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-24-2007, 04:22 PM #7

Thanks for the quick Reply, works awesome. One little suggestions, it says that people are dead, even tho they are alive (goes back to normal after respawn). When people are listed as "dead" the icons above their heads is removed.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
07-24-2007, 05:12 PM #8

that would probably be THIS bug with the dod_set_user_kills native (and possibly the other ones too??)

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-24-2007, 07:23 PM #9
that would probably be THIS bug with the dod_set_user_kills native (and possibly the other ones too??)
rnrnYes, that damn bug is getting on my nerves for years now!rnhopefully that will be fixed some time soon (in AMXX 1.80?).

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-24-2007, 10:37 PM #10

Is there anyway to reset everything except their status on being alive or dead?

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-25-2007, 04:27 AM #11
Is there anyway to reset everything except their status on being alive or dead?
rnrnno, as soon as you reset it all they show up as dead and theirrnicons disappear, only possibility would be to kill all playersrnonce you use that command.rnrnother than that we have to wait for the next version of AMXXrnor diamond-optic letsme know how to update the "deaths" manually :cool: rni know how to update the kills and the player score without losing thernteamicon, but the deaths?

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
07-25-2007, 11:43 AM #12

Damn, thanks alot for your help FeuerSturm. Really appreciate it man. I'll use the DoD Start Round plugin, no biggy.

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC