முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetCustomModelPath

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

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);