Raised This Month: $ Target: $400
 0% 

Removing Entity youre looking at?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-21-2010 , 12:31   Removing Entity youre looking at?
Reply With Quote #1

title says all.

can you guys help me?
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 07-21-2010 , 12:32   Re: Removing Entity youre looking at?
Reply With Quote #2

What kind of entities are you trying to remove?
RedRobster is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-21-2010 , 13:02   Re: Removing Entity youre looking at?
Reply With Quote #3

info_targets
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-21-2010 , 13:10   Re: Removing Entity youre looking at?
Reply With Quote #4

Quote:
Originally Posted by mottzi View Post
info_targets
Are them solid or visible?

Do you know what pev_solid value they have?
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-21-2010 , 13:32   Re: Removing Entity youre looking at?
Reply With Quote #5

set_pev( g_item, pev_solid, SOLID_TRIGGER );
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-21-2010 , 13:37   Re: Removing Entity youre looking at?
Reply With Quote #6

Just see the source code of the Entity Remover by Exolent.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-21-2010 , 13:49   Re: Removing Entity youre looking at?
Reply With Quote #7

ok. i try it!
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-21-2010 , 15:33   Re: Removing Entity youre looking at?
Reply With Quote #8

use:
PHP Code:
new iEntityiBody;
get_user_aimingidiEntityiBody400 );
fm_remove_entity(iEntity);

stock fm_remove_entity(index)
    return 
engfunc(EngFunc_RemoveEntityindex
AngeIII is offline
Send a message via Skype™ to AngeIII
Reply


Thread Tools
Display Modes

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 07:04.


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