ContentProvider:IsLoaded (int ID)

ContentProvider:IsLoaded (int ID) --returns a bool value, used by LocalScript, throws an error if the ID is invalid

I think you can tell what this function is for. It checks to see if the client has loaded the given asset ID (be it a decal, sound, animation, or model inserted with the insert service). Basically if the ID is cached, it returns true.

No more wondering if that sound will play :wink:

1 Like

This should be in ContentProvider and it should be local only.

Updated

β€œsound”

It’d be nice if sounds were able to be preloaded in the first place :frowning: