Raised This Month: $ Target: $400
 0% 

Check if model has been precached


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 03-10-2019 , 09:30   Check if model has been precached
Reply With Quote #1

Hi, I wonder how can I check if a model or modelindex has been precached without crashing the server? I'm using this function engfunc(EngFunc_ModelIndex, "models/player/blue/blue.mdl") to get modelindex, but the problem comes when the model hasn't been precached, the server crashs, I don't want that, help me.
rtxa 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 05:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode