Documentation
This script basically registers the player's data (Score & Deaths) every time when he gets killed or killed an enemy. Also, the player's data will regain back when the player joins back into the team as to avoid the data being lost. For further information, you can see the details about this script below:
Lightweight and simplistic in its own shape (67 lines of chunk code);
Uses local for Player table to avoid any conflict between other tables with the same name;
sv_scorespec command to check the player's data;
You're able to check the player's data as long if he's spectator (frankly, it doesn't make sense to check the data since you already see it in the Score Board).
In order to check a specific player's data, here's the following syntax below.
sv_scorespec <id>
Whose the parameter <id> belongs to the player's number ID.
Installation
1. Extract the Register.lua from the zipped package through sys/lua path directory.
2. Go through server.lua file and type the following dofile() below:
dofile("sys/lua/Register.lua")
Rules & Permission
You can do anything you want to with this file, moreover you can also upload it here (such as a better version of it) as long you ask me for the permission.
3× editiert, zuletzt 30.10.16 13:18:42
Zugelassen von Sparty
Download
855 b, 439 Downloads