Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
Download EngFunc_PrecacheModel.txt from RichieBurundi/Amxxprogramer: direct link, hf CLI and curl.
- Browser
- Download file 710 Bytes
-
https://huggingface.co/datasets/RichieBurundi/Amxxprogramer/resolve/main/EngFunc_PrecacheModel.txt
- Command line
-
hf download hf://datasets/RichieBurundi/Amxxprogramer/EngFunc_PrecacheModel.txt
-
curl -L -o EngFunc_PrecacheModel.txt https://huggingface.co/datasets/RichieBurundi/Amxxprogramer/resolve/main/EngFunc_PrecacheModel.txt
710 Bytes
| Fakemeta function : | |
| Quote: | |
| EngFunc_PrecacheModel | |
| Description : | |
| Precaches a model or sprite file. | |
| This should be used only when you would need to postpone the precache processus in plugin_init() or plugin_cfg(), otherwise you should use precache_model() native directly in plugin_precache() forward. | |
| It can be useful for example when you want to manage models with cvars and to avoid registering them in plugin_precache() then getting some trouble, you could manage out of this forward. | |
| Usage : | |
| Code: | |
| engfunc( EngFunc_PrecacheModel, "models/MyModel.mdl" ); | |
| engfunc( EngFunc_PrecacheModel, "sprites/MySprite.spr" ); | |
| It returns the precached model/sprite index if successful, otherwise 0. |