Raised This Month: $ Target: $400
 0% 

client_print cmd_target problems...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
tpt
Member
Join Date: Jun 2009
Location: Scripting help section
Old 06-25-2009 , 18:39   Re: make a case of a switch equal a string?
Reply With Quote #8

Quote:
Originally Posted by Atspulgs View Post
there is
is_user_alive(id)
Code:
if( is_user_alive( index ) ) //alive if( !is_user_alive( index ) ) //dead

But i think you're looking for deathmsg event.

Code:
public plugin_init()        register_event("DeathMsg", "e_death", "a", "1>0") public e_death() {      //player has died      new Killer = read_data(1)      new Victim = read_data(2) }

Last edited by tpt; 06-25-2009 at 18:45.
tpt is offline
 



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 15:33.


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