Raised This Month: $ Target: $400
 0% 

GetClientFrags(client)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Floppe
Junior Member
Join Date: Jun 2007
Old 07-23-2007 , 08:45   GetClientFrags(client)
Reply With Quote #1

Possible to get client frags exclusive targets bombed and hostages saved?

Need true K/D ratio calculated.
Floppe is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-23-2007 , 10:19   Re: GetClientFrags(client)
Reply With Quote #2

Doubt it. You could hook the messages for Bomb Defused and such though. Then you could keep count of the "objectives" frags and subtract them.
__________________
I'm a blast from the past!
ferret is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 07-23-2007 , 11:10   Re: GetClientFrags(client)
Reply With Quote #3

You must make your own scoring system. Hook "player_death" event and count kills and deaths.
Also ONLY save the data (SQL or KeyValues file) when round ends. Saving data in "player_death" event causes lots of lag.
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
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:33.


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