Check how many mdl,snd,spr are precached.
How i can check how many are precached.
what is that code :) i need to check this and i want to create test plugin like say /testpre and client_print "312 are precached" or something :):):) |
Re: Check how many mdl,snd,spr are precached.
You want check all unbasic file precache size game was installed? Or just fe. you make a plugin and want to check how many files he precache? Or maybe you want check how many files are precache from server every day?
If the last, you must add a global counter. In plugin init read this counter from file/nvault/sql. When a file precached ++counter. At plugin end save this counter. |
Re: Check how many mdl,snd,spr are precached.
I want to make plugin that if i say /testpre then
client_print "%s are precached", precached_res like plugin say how many are precached. |
Re: Check how many mdl,snd,spr are precached.
|
Re: Check how many mdl,snd,spr are precached.
thanks.
Omg 422 sounds - 5 generics - 172 models | TOTAL = 599 This mean i've exceeded the maximum? If yes , why my server dont crash or dont warn, its still working fine. |
Re: Check how many mdl,snd,spr are precached.
I think there are 2 different limits.
1 for generic, the other for sound/model/sprites. That may not be completely accurate, but I know there are 2 different precache sections with separate limits. |
Re: Check how many mdl,snd,spr are precached.
But i hate limits!
i have sounds and models more than 512, so sounds and models are ohter limit too? :) What i think, sounds and models/sprite/generic are ohter limit. mayby. lol |
Re: Check how many mdl,snd,spr are precached.
I Think the limit are for each sound/models. Not for sounds+models.
|
Re: Check how many mdl,snd,spr are precached.
Exolent[jNr] must know this better because he is a amxmodx moderator.
But i hope it is like u say. |
Re: Check how many mdl,snd,spr are precached.
.Dare Devil.
It's like Exolent[jNr] said, actually (sound+modeks>512=crash). But I don't know about seperate limit for precache_generic, though. |
| All times are GMT -4. The time now is 04:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.