[FilterScript] GangstaSunny's Statistics (Server & Player) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] GangstaSunny's Statistics (Server & Player) (
/showthread.php?tid=613199)
GangstaSunny's Statistics (Server & Player) -
GangstaSunny - 25.07.2016
Hello Folks,
this filterscript just shows the server and player statistics.
The statistics are stringcuttet and showed inside a nice DIALOG_STYLE_TABLIST_HEADER.
Server network statistics

Full HD size:
http://i.imglol.de/sa-mp-00072hlis.png
Player network statistics

Full HD size:
http://i.imglol.de/sa-mp-0016ldwgy.png
Code:
#define RCON_ADMIN_ONLY // comment this out if erveryone should can check the server and player statistics
[UPDATE] #define REFRESH_SECONDS 1 // set the time (in seconds) when the statistics should be refreshed
Note
Click on a player in the TAB-List to watch his network stats.
Update from 26.07.2016
Code:
Added dialog refreshing which will update the showed details
Removed command-message if OnPlayerClickPlayer is called instead of a command
Download
[UPDATE v0.2] Check out the code on pastebin
[v0.1] Check out the code on pastebin
Re: GangstaSunny's Statistics (Server & Player) -
SpikY_ - 25.07.2016
Useful and Decent Release.
Re: GangstaSunny's Statistics (Server & Player) -
SyS - 25.07.2016
simple and nice
Re: GangstaSunny's Statistics (Server & Player) -
K0P - 25.07.2016
Nice one +rep
Re: GangstaSunny's Statistics (Server & Player) -
SickAttack - 25.07.2016
The info that is really the only useful aspect to know, is the packet loss. I expected more, even from a user that supposedly is managing the German SA-MP Wiki page (I believe it is the German version).
There is really no difference in using strcmp and a command processor that calls the functions directly in this case; however, you should set a good example for the people that use these releases. And in case of an update (add more commands), it would then make a difference.
+6 rep, keep it up.
Re: GangstaSunny's Statistics (Server & Player) -
Flake. - 25.07.2016
Isn't the network stats one already included in the server package?
Re: GangstaSunny's Statistics (Server & Player) -
SickAttack - 25.07.2016
Quote:
Originally Posted by Flake.
Isn't the network stats one already included in the server package?
|
Yeah.
Re: GangstaSunny's Statistics (Server & Player) -
Inn0cent - 25.07.2016
Nice though.
Re: GangstaSunny's Statistics (Server & Player) - Quinncell - 25.07.2016
Looks good! +rep
Re: GangstaSunny's Statistics (Server & Player) -
JustMe.77 - 25.07.2016
Useful script.
PS: You're responsible for the German Wiki page?