listing all entity in current map
i kno if i do this i can get entities by searching for it but it is very tedious
PHP Code:
|
Re: listing all entity in current map
Do something like this :
Code:
|
Re: listing all entity in current map
Download SHPTools in my sig, in console type listent, for more specific information you can do printent ID Number
|
Re: listing all entity in current map
Use of engfunc(EngFunc_NumberOfEntities) would be incorrect in this case. You should use global_get(glb_maxEntities) instead of that.
Let's say that you have ent1, ent2 and ent3, then if you would remove the second one number of entities would be 2 and your method will not detect the last one. |
Re: listing all entity in current map
Thanks.
(fixed) |
Re: listing all entity in current map
thank u both as u both helped me a lot
|
| All times are GMT -4. The time now is 01:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.