Raised This Month: $ Target: $400
 0% 

listing all entity in current map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-08-2007 , 07:04   Re: listing all entity in current map
Reply With Quote #2

Do something like this :

Code:
    new g_max_clients = global_get(glb_maxClients)     new entitiesnum = global_get(glb_maxEntities)     for(new i = g_max_clients + 1; i < entitiesnum ; i++)     {         // do what you want with each entity     }

Last edited by ConnorMcLeod; 11-08-2007 at 10:25.
ConnorMcLeod 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