Raised This Month: $ Target: $400
 0% 

Catching when player have died.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-13-2013 , 09:08   Catching when player have died.
Reply With Quote #1

I wonder how to catch an event when player have died?
Unkolix is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-13-2013 , 09:16   Re: Catching when player have died.
Reply With Quote #2

There are multiple ways, all of which can be found by searching
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-13-2013 , 09:19   Re: Catching when player have died.
Reply With Quote #3

Would this work?
PHP Code:
register_event"DeathMsg""CallbackForward""a""1!0" ); 
Unkolix is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-13-2013 , 09:20   Re: Catching when player have died.
Reply With Quote #4

That is one method, yes
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-13-2013 , 09:21   Re: Catching when player have died.
Reply With Quote #5

Ok, but what are those other ways?
Unkolix is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-13-2013 , 09:22   Re: Catching when player have died.
Reply With Quote #6

Search and you will find them
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-16-2013 , 16:53   Re: Catching when player have died.
Reply With Quote #7

Can't find others. And I need one that would catch when that user dies, not anyone on the server...
Unkolix is offline
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 02-16-2013 , 17:31   Re: Catching when player have died.
Reply With Quote #8

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

Last edited by vitorrossi; 02-16-2013 at 17:31.
vitorrossi is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-16-2013 , 17:35   Re: Catching when player have died.
Reply With Quote #9

Thanks!!!

Last edited by Unkolix; 02-16-2013 at 17:50.
Unkolix is offline
Reply


Thread Tools
Display Modes

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 20:38.


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