View Single Post
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