AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Catching when player have died. (https://forums.alliedmods.net/showthread.php?t=208428)

Unkolix 02-13-2013 09:08

Catching when player have died.
 
I wonder how to catch an event when player have died?

YamiKaitou 02-13-2013 09:16

Re: Catching when player have died.
 
There are multiple ways, all of which can be found by searching

Unkolix 02-13-2013 09:19

Re: Catching when player have died.
 
Would this work?
PHP Code:

register_event"DeathMsg""CallbackForward""a""1!0" ); 


YamiKaitou 02-13-2013 09:20

Re: Catching when player have died.
 
That is one method, yes

Unkolix 02-13-2013 09:21

Re: Catching when player have died.
 
Ok, but what are those other ways?

YamiKaitou 02-13-2013 09:22

Re: Catching when player have died.
 
Search and you will find them

Unkolix 02-16-2013 16:53

Re: Catching when player have died.
 
Can't find others. And I need one that would catch when that user dies, not anyone on the server...

vitorrossi 02-16-2013 17:31

Re: Catching when player have died.
 
PHP Code:

RegisterHam(Ham_Killed"player""Player_Death"0/1before death 1 after 


Unkolix 02-16-2013 17:35

Re: Catching when player have died.
 
Thanks!!!


All times are GMT -4. The time now is 20:38.

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