Skin wont work - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (
https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (
https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Skin wont work (
/showthread.php?tid=654184)
Skin wont work -
Astonish - 22.05.2018
Hello, I was trying to add custom skin models in my server and i did configured every thing correctly the artwork loads with the server and also download the files but when i do /setskin it wont work but it says that skin has been set to 2000x but it wont actually change tge akin of player
Re: Skin wont work -
Astonish - 24.05.2018
Help?
Re: Skin wont work -
Shizut - 24.05.2018
2000 it is out of range.
Player skins use ranges: 20000 to 30000.
Re: Skin wont work -
Astonish - 24.05.2018
Man i said 2000(x) it means 20001 and so on
Re: Skin wont work -
NaS - 24.05.2018
Did both files load properly? The model and the texture?
No warnings/errors at all?
You could try replacing a gta sa skin to confirm if the skin properly works, to rule out a broken model or similar.
Re: Skin wont work -
Astonish - 24.05.2018
Yeah both of the files loaded without any error it works when i use them as a MOD in SA + Few moths back I have used those skin model and the were working perfectly idk why its not working everything is same the script and everything
Re: Skin wont work -
NaS - 24.05.2018
Sounds weird. Did you add the new callbkack to the script (OnPlayerFinishedDownloading) and return 1 insde it? Not quite sure if that could cause it but if I remember correctly it should be added.
Re: Skin wont work -
Astonish - 25.05.2018
Nahni didn't... What is it?
Re: Skin wont work -
beckzy - 25.05.2018
20000 won't work. Range is 20001 - 30000.
Re: Skin wont work -
NaS - 25.05.2018
Quote:
Originally Posted by Astonish
Nahni didn't... What is it?
|
That's a callback. I'm not entirely sure if it is required to be in your gamemode, but you can try it anyway:
Just add this to your script somewhere
Код:
public OnPlayerFinishedDownloading(playerid, type, crc)
{
return 1;
}