18.09.2015, 15:06
The maximum number of models supported is 20,000 why not just use that instead of looping over an indeterminate array? Then also change up your enum to support model types.
Код:
#define MODEL_TYPE_NONE 0
#define MODEL_TYPE_PED 1
#define MODEL_TYPE_VEHICLE 2
#define MODEL_TYPE_MODEL 3
enum e_MODEL_NAMES {
e_modelType,
e_modelName[24 char]
};

