Raised This Month: $ Target: $400
 0% 

other way in checking user alive


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
whosyourdaddy
Senior Member
Join Date: Apr 2008
Old 01-29-2009 , 23:21   Re: other way in checking user alive
Reply With Quote #1

Quote:
Originally Posted by zwfgdlc View Post
try
PHP Code:
// pev(entity, pev_deadflag) values
#define    DEAD_NO                         0           // Alive
#define    DEAD_DYING                      1           // Playing death animation or still falling off of a ledge waiting to hit ground
#define    DEAD_DEAD                       2           // Dead, lying still
#define DEAD_RESPAWNABLE                3
#define DEAD_DISCARDBODY                4 
would it look like this
Code:
(pev(id,pev_deadflag) & DEAD_DYING)
to check it a player is dead?
whosyourdaddy is offline
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 01:37.


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