SAMP 0.3.DL SKINS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SAMP 0.3.DL SKINS (
/showthread.php?tid=660420)
SAMP 0.3.DL SKINS -
Zeus666 - 02.11.2018
Do you know the reason?
Or, how can I detect the skin so I can delete it?
https://i.imgur.com/FwyDlGV.png
Re: SAMP 0.3.DL SKINS -
NaS - 02.11.2018
Code:
native FindTextureFileNameFromCRC(crc, retstr[], retstr_size);
With this you can find the texture filename from the CRC.
Re: SAMP 0.3.DL SKINS -
Zeus666 - 02.11.2018
Quote:
Originally Posted by NaS
Code:
native FindTextureFileNameFromCRC(crc, retstr[], retstr_size);
With this you can find the texture filename from the CRC.
|
And I should define it or add it where?
Re: SAMP 0.3.DL SKINS -
NaS - 02.11.2018
Quote:
Originally Posted by Zeus666
And I should define it or add it where?
|
It's a 0.3DL native.
To get the filename from a crc, use it like this (put it anywhere, just execute it once to find out the filename):
Code:
new str[33];
FindTextureFileNameFromCRC(0xA8E16EB7, str, sizeof str);
printf("File: \"%s\"", str);
And it will print the filename with the CRC you specify here. Do that for the two files you have a problem with.
The CRC is shown under "ID" in the download dialog.