Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
Fakemeta function : | |
Quote: | |
EngFunc_ModelIndex | |
Description : | |
Returns an unique index of the model name provided. | |
It's actually the same number that precache_model() returns. | |
A model index is used for example in some TE_* messages. ( TE_LIGHTNING, TE_GLOWSPRITE, etc.. See message_const.inc file ). | |
The model index of an entity is stored in pev_modelindex. | |
Usage : | |
Code: | |
ModelIndex = engfunc( EngFunc_ModelIndex, "models/MyModel.mdl" ); |