Raised This Month: $ Target: $400
 0% 

Find all brushes in a map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-02-2010 , 13:10   Re: Find all brushes in a map
Reply With Quote #1

This is untested, but should work.

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    new class[
32]
    new 
maxents global_get(glb_maxEntities)
    for(new 
0<= maxentsi++)
    {
        if(!
pev_valid(i))
            continue

        
pev(ipev_classname, class, charsmax(class))
        
server_print("Found entity %i with classname of %s"i, class)
    }
    
server_print("Have a good day!")

__________________

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
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 05:16.


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