This script saves the score and deaths of a player (in variables) as seen in the scoreboard and if a player re-joins in the same round his score and deaths are set to the values before he left and shows him a notification.
The player must use USGN to let this work (other authentification methods are just too unsecure).
Because the script works most the time in the background, it's up to you to let the players know that USGN users don't have to fear a loss of score after re-join, for example by using text in serverinfo.txt.
Installation: Extract the zip package to CS2D directory.
To load script:
Either type
1
lua dofile("sys/lua/scorerestore.lua")
1
dofile("sys/lua/scorerestore.lua")
Approved by SQ
Download
973 b, 597 Downloads