Pular para o conteúdo principal

GetCustomModelPath

atenção

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Get a custom model path.

NameDescription
modelidThe custom model id to get path from.
dffPath[]An array in which to store the dffPath in, passed by reference.
dffSizeThe length of the dffPath that should be stored.
txdPath[]An array in which to store the txdPath in, passed by reference.
txdSizeThe length of the txdPath that should be stored.

Examples

new
modelid = -2000,
dffPath[64],
txdPath[64];

GetCustomModelPath(modelid, dffPath, sizeof(dffPath), txdPath, sizeof(txdPath));

printf("[Custom model id %d path]\n\
dff: %s\n\
txd: %s",
modelid, dffPath, txdPath);