512 Model limit
As this thread: http://forums.alliedmods.net/showthread.php?t=73238
How i can get the number of the current precached models including models precached by plugins? |
Re: 512 Model limit
PHP Code:
|
Re: 512 Model limit
precache_model() returns an index which is actually the number of precached model. If you see 240, it means you have precached the 240th model.
|
Re: 512 Model limit
Quote:
EDIT: Here's the script http://forums.alliedmods.net/showpos...1&postcount=26 It only shows how many entities are in the map. Not precached resources. EDIT2: Make a plugin like this - at precache, hook FM_PrecacheSound , FM_PrecacheModel , FM_PrecacheGeneric (all in post) - at each call, check if the returned value are bigger than the previous (is a global variable to store it if it's bigger) - at plugin_init unhook those forwards - you will have in that global the last number like Arkshine said I think it will work. |
| All times are GMT -4. The time now is 03:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.