SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 30/11/2017, 03:54 AM   #1
AlexMSK
Banned
 
Join Date: Apr 2016
Location: Albania, yez
Posts: 225
Reputation: 61
Question Custom Skins?

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?
AlexMSK is offline   Reply With Quote
Old 30/11/2017, 04:21 AM   #2
DevHarden
Big Clucker
 
DevHarden's Avatar
 
Join Date: Nov 2015
Location: United States
Posts: 69
Reputation: 13
Default Re: Custom Skins?

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.
DevHarden is offline   Reply With Quote
Old 30/11/2017, 04:50 AM   #3
AlexMSK
Banned
 
Join Date: Apr 2016
Location: Albania, yez
Posts: 225
Reputation: 61
Default

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..

Last edited by dugi; 30/11/2017 at 10:59 AM.
AlexMSK is offline   Reply With Quote
Old 30/11/2017, 04:53 AM   #4
Ritzy2K
High-roller
 
Ritzy2K's Avatar
 
Join Date: Jun 2014
Location: India
Posts: 1,672
Reputation: 168
Default Re: Custom Skins?

Are the custom models added ?
Ritzy2K is offline   Reply With Quote
Old 30/11/2017, 08:56 AM   #5
Rehasher
Big Clucker
 
Rehasher's Avatar
 
Join Date: Jan 2012
Posts: 66
Reputation: 176
Default Re: Custom Skins?

Make sure you hard restart the server and not gmx
__________________

Rehasher is offline   Reply With Quote
Old 30/11/2017, 09:47 AM   #6
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,096
Reputation: 174
Default Re: Custom Skins?

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.
__________________
Путин here,
Путин there,
Путин просто everywhere.


Any PM's that include question about any kind of help will be ignored.
Use appropriate boards for that
DRIFT_HUNTER is offline   Reply With Quote
Old 02/02/2019, 05:16 PM   #7
DyduShxD
Gangsta
 
DyduShxD's Avatar
 
Join Date: Jan 2013
Location: Romania,Suceava
Posts: 612
Reputation: 6
Default Re: Custom Skins?

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
DyduShxD is offline   Reply With Quote
Old 03/02/2019, 05:54 PM   #8
MEGADETHS
Little Clucker
 
MEGADETHS's Avatar
 
Join Date: Jan 2019
Posts: 20
Reputation: 0
Default Re: Custom Skins?

Show artconfig.txt
MEGADETHS is offline   Reply With Quote
Old 04/02/2019, 01:23 PM   #9
Alex Magaņa
High-roller
 
Alex Magaņa's Avatar
 
Join Date: Oct 2012
Location: 𝕭𝖗𝖔𝖙𝖍𝖊𝖗𝖍𝖔𝖔𝖉
Posts: 2,466
Reputation: 216
Default Re: Custom Skins?

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.
Attached Files
File Type: zip customclass.zip (664 Bytes, 3 views)
__________________

HOME --- FORUMS --- DISCORD --- SERVER

Last edited by Alex Magaņa; 04/02/2019 at 03:38 PM.
Alex Magaņa is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[TUTORIAL RC1] How to add custom skins J0sh... SA-MP 0.3.DL 25 28/01/2019 04:20 AM
Rigging custom skins in 3ds Max michalmonday General 0 04/01/2015 05:30 PM
Add skins ID in custom files (.img & .ide) Mr.Momo Scripting Help 3 03/03/2012 07:16 PM
Custom Skins Jordiee Scripting Help 2 07/11/2011 08:35 PM


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.