Raised This Month: $ Target: $400
 0% 

is_hostage_alive(ent)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-11-2009 , 03:42   is_hostage_alive(ent)
Reply With Quote #1

I have ent id of hostage.. I wanna to check is he alive.. whats the best way?

Note: I'm checking that in somethink like fw_preHostageRespawn

maybe that's why this doesn't work:
PHP Code:
if(pev(ent,pev_deadflag)!=DEAD_NO
PHP Code:
if(!pev(ent,pev_health)) 

Last edited by Empowers; 04-11-2009 at 03:58.
Empowers is offline
Send a message via ICQ to Empowers
 



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 02:19.


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