Raised This Month: $ Target: $400
 0% 

DEAD !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZerroQ
Member
Join Date: Jun 2006
Location: European Union: Latvia
Old 02-17-2007 , 06:53   DEAD !
Reply With Quote #1

How do i get that plugins check's if you player are DEAD then it messages you certain text ?
__________________
* we Create our own fate...
ZerroQ is offline
Send a message via Skype™ to ZerroQ
SAMURAI16
BANNED
Join Date: Sep 2006
Old 02-17-2007 , 07:00   Re: DEAD !
Reply With Quote #2

i don't understand what you want 100 % but i think you want this:
Code:
if( !is_user_alive(id))
{
     client_print(0,print_chat,"player is dead")
     // and some stuff return or else
}
Anyway, this is an example

Last edited by SAMURAI16; 02-17-2007 at 07:04.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Oskar
BANNED
Join Date: Jan 2007
Location: Slöinge, Falkenberg, Hal
Old 02-17-2007 , 08:06   Re: DEAD !
Reply With Quote #3

Code:
#include <amxmodx>
public plugin_init()
{
 register_event("DeathMsg","event_deathmsg","a")
}
 
public event_deathmsg()
{
 new victim = read_data(2)
 client_print(victim, print_chat, "Your'e a dead man!")
}

Last edited by Oskar; 02-17-2007 at 08:10.
Oskar is offline
Send a message via MSN to Oskar
Davidos
Senior Member
Join Date: Feb 2005
Old 02-19-2007 , 12:53   Re: DEAD !
Reply With Quote #4

Quote:
Originally Posted by ZerroQ View Post
How do i get that plugins check's if you player are DEAD then it messages you certain text ?
Did this get answered? If yes, post in title.

If no, what kind of message do you want?

<in chat, in center, colloured hud message?>
Davidos is offline
ZerroQ
Member
Join Date: Jun 2006
Location: European Union: Latvia
Old 02-20-2007 , 07:33   Re: DEAD !
Reply With Quote #5

oh yup, it work'd out! THANKS guys
__________________
* we Create our own fate...
ZerroQ is offline
Send a message via Skype™ to ZerroQ
Reply



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 00:45.


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