Quote:
Originally Posted by Fruchtzwerg
You get user damage and hits through the FireGameEvent function, its the game event system. Read about it here: http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html
For tsay and csay use the user message HudMsg. Search in the SDK for some examples (UTIL_HudMessage). It will work with HL2MP, but not with CS.
|
Im trying to detect when a user dies,via a player_dead trap in this event
so that I can broadcast the chat messages to the correct clients
after trapping the say messages and it doesnt appear to work all the time.
Does anyone know the correct way to detect whether a player is alive or dead?