note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
FindTextureFileNameFromCRC
warning
This function was added in SA-MP 0.3.DL R1 and will not work in earlier versions!
Description
Find an existing custom skin or simple object texture file. The model files are located in models server folder by default (artpath setting).
Name | Description |
---|---|
crc | The CRC checksum of custom model file. |
output[] | An array into which to store the .txd file name, passed by reference. |
size = sizeof (output) | The length of the string that should be stored. |
Returns
1: The function executed successfully.
0: The function failed to execute.
Related Functions
- OnPlayerFinishedDownloading: Called when a player finishes downloading custom models.