Raised This Month: $ Target: $400
 0% 

Find ent by class


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Specialist
BANNED
Join Date: Nov 2006
Old 11-09-2006 , 05:33   Find ent by class
Reply With Quote #1

ok first two thing . i need the equivelent to find_ent_by_class and find_ent_in_sphere , without using engine . I need the fakemeta way to do those. any ideas ?

Last edited by The Specialist; 11-09-2006 at 05:35.
The Specialist is offline
Send a message via AIM to The Specialist
VEN
Veteran Member
Join Date: Jan 2005
Old 11-09-2006 , 06:40   Re: Find ent by class
Reply With Quote #2

Fakemeta Utilities
VEN is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 11-09-2006 , 06:59   Re: Find ent by class
Reply With Quote #3

hhmmm , I wish BAILOPAN would add fakemeta util to the standard amxmodx pack already. It is very usefull , Ive used it before. But its a pain in the ass for users of a plugin to have to downlaod and install things(bunch of noobs). mayee ill just use the fakemeta util pack instead of engine or fakemeta.

EDIT: for fm_find_ent_by_class(-1, "player")
would player be a valid class ?

Last edited by The Specialist; 11-09-2006 at 07:13.
The Specialist is offline
Send a message via AIM to The Specialist
VEN
Veteran Member
Join Date: Jan 2005
Old 11-09-2006 , 07:44   Re: Find ent by class
Reply With Quote #4

Yes, of course. Also you can just copy necessary macros/stock functions to your plugin.
VEN is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 11-09-2006 , 08:34   Re: Find ent by class
Reply With Quote #5

You can also do it:

Code:
engfunc(EngFunc_FindEntityByString, get_maxplayers(), "classname", "myclassname");
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 11-09-2006 , 08:35   Re: Find ent by class
Reply With Quote #6

from your include file of the fakemeta util? yeah , i could. but it will be alot cleaner to just include the whole file , casue il probly use alot of functions , thanks again VEN +karma
The Specialist is offline
Send a message via AIM to The Specialist
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 06:51.


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