Raised This Month: $ Target: $400
 0% 

listing all entity in current map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
l4ulwtlln
Member
Join Date: Aug 2007
Old 11-08-2007 , 02:32   listing all entity in current map
Reply With Quote #1

i kno if i do this i can get entities by searching for it but it is very tedious

PHP Code:
        register_forward(FM_Touch"touch")

public 
touch(touchedtoucher)
{
        static 
classname[33]
        
pev(touchedpev_classnameclassname32)

        static 
mapname[33]
        
get_mapname(mapname32)
        
log_amx("%s: %s"mapnameclassname)

        return 
FMRES_IGNORED

so i was wondering how i would get a list of all entities on the current map without having to physically search for it? (i might be using the wrong word here but i think u all should understand what i want)
l4ulwtlln is offline
 



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 01:20.


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