SA-MP Forums Archive
GetPlayerSkin bug? - 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: GetPlayerSkin bug? (/showthread.php?tid=644242)



GetPlayerSkin bug? - povargek - 05.11.2017

GetPlayerSkin returning a original skin ID, not new skin ID.

Example:
AddCharModel(169, 25000, "yomi.dff", "yomi.txd");

SetPlayerSkin(playerid, 25000);
GetPlayerSkin(playerid) == 169 (not a 25000)

bug?


Re: GetPlayerSkin bug? - Klayton - 05.11.2017

Yeah I have this, i dont know if this bug, I think


Re: GetPlayerSkin bug? - Kalcor - 05.11.2017

yes and no. the main skin is still the base skin. that skin is used for the voices and animations. it's also used if the custom model fails to load for some reason. There may be a new function added later to get the custom skin.


Re: GetPlayerSkin bug? - Klayton - 05.11.2017

oh okay