Thanks,

I already have started to code it this way. I thought there is a way
to access valve methods doing this for me to make it easier but it
looks like this is the only way. I hope this will not take too much
performance.

thx 4 help,
Chuck


On Fri, 28 Jan 2005 16:13:50 +0100, Pierre-Marie Baty
<[EMAIL PROTECTED]> wrote:
> "Chuck Farly" <[EMAIL PROTECTED]> wrote:
> > Hi Folks,
> >
> > I have tried to implement a server plugin, which should display the damage
> > stats, displayed by default in the console after a player has died, in the
> > GUI.
> > until now I have not managed to retrieve the information about the damage
> > stats.
>
> Hi,
>
> According to PMTools, here's what happens when you fire at an enemy.
>
> (bit of the log file)
>
> PMTOOLS (console): PMTools: Got event "weapon_fire"
> PMTOOLS (console): {
> PMTOOLS (console):    "userid" = 5 (TYPE_INT)
> PMTOOLS (console):    "time" = 38999 (TYPE_INT)
> PMTOOLS (console):    "eventid" = 43 (TYPE_INT)
> PMTOOLS (console): }
> PMTOOLS (console): PMTools: Got event "bullet_impact"
> PMTOOLS (console): {
> PMTOOLS (console):    "userid" = 5 (TYPE_INT)
> PMTOOLS (console):    "x" = 127.051476 (TYPE_FLOAT)
> PMTOOLS (console):    "y" = 1356.877319 (TYPE_FLOAT)
> PMTOOLS (console):    "z" = 69.844719 (TYPE_FLOAT)
> PMTOOLS (console):    "time" = 38999 (TYPE_INT)
> PMTOOLS (console):    "eventid" = 51 (TYPE_INT)
> PMTOOLS (console): }
> PMTOOLS (console): PMTools: Got event "player_hurt"
> PMTOOLS (console): {
> PMTOOLS (console):    "userid" = 4 (TYPE_INT)
> PMTOOLS (console):    "health" = 68 (TYPE_INT)
> PMTOOLS (console):    "attacker" = 5 (TYPE_INT)
> PMTOOLS (console):    "time" = 38999 (TYPE_INT)
> PMTOOLS (console):    "eventid" = 14 (TYPE_INT)
> PMTOOLS (console): }
>
> (end bit)
>
> Hope you have enough now. Note: these are Counter-Strike events. They may
> differ a little in other mods.
>
> --
> Pierre-Marie Baty
> http://forums.bots-united.com
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to