SA-MP Forums Archive
Custom Skins? - 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: Custom Skins? (/showthread.php?tid=645584)



Custom Skins? - AlexMSK - 30.11.2017

Hi, how am i supposed to set a new custom skin to a player? /setskin(SetPlayerSkin) doesnt work, it says invalid ped model? Is there any other way?


Re: Custom Skins? - DevHarden - 30.11.2017

I'm not trying to insult you by saying this, but by any chances does that command have a check for the skin ID's? Such as it cant be more than or less than X? (Checking that you don't set an invalid skin ID previous to having the ability for custom skins) If so, Comment it out or adjust it to your skin ID's.


- AlexMSK - 30.11.2017

if(!(0 <= skinid <= 30000))
{
return SendClientMessage(playerid, COLOR_GREY, "Invalid skin specified.");
}



Maybe its a wrong skin as Kalcor said because if i try another one it works..


Re: Custom Skins? - Ritzy2K - 30.11.2017

Are the custom models added ?


Re: Custom Skins? - Rehasher - 30.11.2017

Make sure you hard restart the server and not gmx


Re: Custom Skins? - DRIFT_HUNTER - 30.11.2017

For god sake...Before 0.3.8 introduced custom skins, anything below 0 and above ~300 was/is invalid. Scripts (gamemodes/filterscripts) are made to check for invalid ID's and block them to avoid crashes. When you add custom skin its negative number, and GM/FS see it as invalid. So open script, add new skin ID's as valid and recompile.


Re: Custom Skins? - DyduShxD - 02.02.2019

UP,have same problem here, damn i just cant solve it, i can change the skin whit a command like /skin ... but i wanna use at onplayerspawn to set me one custom skin and i recive same fuking shit


Re: Custom Skins? - MEGADETHS - 03.02.2019

Show artconfig.txt


Re: Custom Skins? - Alex Magaсa - 04.02.2019

Quote:
Originally Posted by DyduShxD
View Post
UP,have same problem here, damn i just cant solve it, i can change the skin whit a command like /skin ... but i wanna use at onplayerspawn to set me one custom skin and i recive same fuking shit
I remember i had the same issue with OnPlayerClass i used an updated version include (Fix Classes by Locky) and it worked fine.