Closed wrefgtzweve closed 1 month ago
Currently there is simply no way to reliably get the model precache, which is rather annoying as it instant crashes the server when it gets hit. There is a way to see it right now, just not through lua. Running dumpstringtables_new shows the count.
dumpstringtables_new
1: modelprecache strings: 1442 strdata: 50887 databts: 1442
Having some kind of function like engine.GetModelPrecacheCount() number would be incredibly useful and should be relatively simple to implement.
engine.GetModelPrecacheCount() number
Duplicate of https://github.com/Facepunch/garrysmod-requests/issues/82
Thanks for using the search feature.
Details
Currently there is simply no way to reliably get the model precache, which is rather annoying as it instant crashes the server when it gets hit. There is a way to see it right now, just not through lua. Running
dumpstringtables_new
shows the count.Having some kind of function like
engine.GetModelPrecacheCount() number
would be incredibly useful and should be relatively simple to implement.