AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Statistic in modded servers (https://forums.alliedmods.net/showthread.php?t=75162)

krekers 07-31-2008 13:12

Statistic in modded servers
 
Hello.

I have came to a conclusion that there is needed statistic in modded CS servers. The /rank command shows only kills/deaths etc., but in, for example, Zombie Mod server there killing someone is not the priority. Then I would like to create some statistic plugin for ZM server. But I have no idea how to start coding it :D I have made some little amxx plugins, so I'm not professional. But I have programming experience in other programming languages.
First, I would like to create, for example, how many players you're infected.
Any ideas how to do that?

Vet 07-31-2008 15:37

Re: Statistic in modded servers
 
To change ranking, edit the csstats.sma file to reflect what you want.

krekers 07-31-2008 15:56

Re: Statistic in modded servers
 
Yeah. http://paste.php.lv/7748?lang=cpp <- There is so much code to edit ^^
Did you understand what I was asking for?


Edit: Hmm... I took a look at stats_logging.sma. It uses function log_message. So I just need to log that info I need (with function log_message ?) and then parse info?


All times are GMT -4. The time now is 05:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.