Raised This Month: $ Target: $400
 0% 

[CS:GO] Most deadly player [Need Example]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
m22b
Senior Member
Join Date: Jul 2013
Old 07-10-2015 , 19:15   [CS:GO] Most deadly player [Need Example]
Reply With Quote #1

I write simple statistic ,
when "round ends" user see his :
Kills, Shots, and ...

But i don't know how realise :
Most deadly player

Like :

Most deadly player "BLABLA" he kills "20" enemy



Anybody have example ?

Last edited by m22b; 07-10-2015 at 19:15.
m22b is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-10-2015 , 20:58   Re: [CS:GO] Most deadly player [Need Example]
Reply With Quote #2

You could loop across all the players in the server, find the one with the biggest kill count (how do you get the kill count I don't know - check the netprops I guess), and then print that message with the client's username.
Potato Uno 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 08:41.


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