AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Removing Entity youre looking at? (https://forums.alliedmods.net/showthread.php?t=133059)

mottzi 07-21-2010 12:31

Removing Entity youre looking at?
 
title says all.

can you guys help me?

RedRobster 07-21-2010 12:32

Re: Removing Entity youre looking at?
 
What kind of entities are you trying to remove?

mottzi 07-21-2010 13:02

Re: Removing Entity youre looking at?
 
info_targets

joropito 07-21-2010 13:10

Re: Removing Entity youre looking at?
 
Quote:

Originally Posted by mottzi (Post 1246820)
info_targets

Are them solid or visible?

Do you know what pev_solid value they have?

mottzi 07-21-2010 13:32

Re: Removing Entity youre looking at?
 
set_pev( g_item, pev_solid, SOLID_TRIGGER );

Alucard^ 07-21-2010 13:37

Re: Removing Entity youre looking at?
 
Just see the source code of the Entity Remover by Exolent.

mottzi 07-21-2010 13:49

Re: Removing Entity youre looking at?
 
ok. i try it!

AngeIII 07-21-2010 15:33

Re: Removing Entity youre looking at?
 
use:
PHP Code:

new iEntityiBody;
get_user_aimingidiEntityiBody400 );
fm_remove_entity(iEntity);

stock fm_remove_entity(index)
    return 
engfunc(EngFunc_RemoveEntityindex



All times are GMT -4. The time now is 07:04.

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