Raised This Month: $ Target: $400
 0% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-28-2009 , 22:54   ...
Reply With Quote #1

...
__________________


Last edited by hectorz0r; 04-09-2010 at 16:49.
hectorz0r is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 11-28-2009 , 23:09   Re: detecting hostages
Reply With Quote #2

o.O
__________________
Zombiezzz is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 11-29-2009 , 03:25   Re: detecting hostages
Reply With Quote #3

PHP Code:
if( find_ent_by_classFM_NULLENT"hostage_entity" ) || find_ent_by_classFM_NULLENT"monster_scientist" ) )
{

__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-29-2009 , 04:32   Re: detecting hostages
Reply With Quote #4

Quote:
Originally Posted by hectorz0r View Post
title says enough.
No, not enough there are severals ways to detect an hostage and it depends what you want to do and the context. So provide more informations on what you want to do.
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-29-2009 , 11:50   Re: detecting hostages
Reply With Quote #5

...
__________________


Last edited by hectorz0r; 04-09-2010 at 16:49.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-29-2009 , 13:04   Re: detecting hostages
Reply With Quote #6

It doesn't help what you say.

You want to kill them how ? using a command ? By aiming them ? Once we know how you want to kill them, it will be easy to find the proper solution.
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-29-2009 , 13:23   Re: detecting hostages
Reply With Quote #7

...
__________________


Last edited by hectorz0r; 04-09-2010 at 16:49.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-29-2009 , 13:35   Re: detecting hostages
Reply With Quote #8

Quote:
Originally Posted by hectorz0r View Post
Insant kill them at roundstart.
The puspose is to see them dead or you just want see hostages at all on the maps ? Because if second, the best way is simply to remove these entities at map start.
__________________
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-29-2009 , 13:26   Re: detecting hostages
Reply With Quote #9

Should work

Code:
public RoundStart( ) {     new iEntity = create_entity( "trigger_hurt" );     if( !iEntity )         return;         DispatchKeyValue( iEntity, "dmg", "200" );     DispatchSpawn( iEntity );         new iHostage = -1;         while( ( iHostage = find_ent_by_class( iHostage, "hostage_entity" ) ) > 0 )         fake_touch( iEntity, iHostage );         remove_entity( iEntity ); }
__________________
xPaw is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-29-2009 , 13:35   Re: detecting hostages
Reply With Quote #10

...
__________________


Last edited by hectorz0r; 04-09-2010 at 16:50.
hectorz0r 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 13:39.


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