Raised This Month: $ Target: $400
 0% 

Statistic in modded servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
krekers
Junior Member
Join Date: Jul 2007
Old 07-31-2008 , 13:12   Statistic in modded servers
Reply With Quote #1

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 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?
krekers is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 07-31-2008 , 15:37   Re: Statistic in modded servers
Reply With Quote #2

To change ranking, edit the csstats.sma file to reflect what you want.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
krekers
Junior Member
Join Date: Jul 2007
Old 07-31-2008 , 15:56   Re: Statistic in modded servers
Reply With Quote #3

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?

Last edited by krekers; 07-31-2008 at 16:16.
krekers is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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