0.3.8 SetSpawnInfo custom skin bug -
m4karow - 07.11.2017
Hey
I'm using setspawninfo at the end of loading player's data. This data loading starts after OnPlayerFinishedDownloading called but the player have CJ skin. The bug is fixed, if i use SetPlayerSkin after spawning.
Re: 0.3.8 SetSpawnInfo custom skin bug -
Psycho96 - 07.11.2017
I think it's your code, maybe it's wrong, I'm using it with custom skins and it works perfectly. Are u sure you're using your custom ID correctly?
Re: 0.3.8 SetSpawnInfo custom skin bug -
m4karow - 07.11.2017
how i could be wrong if i loading the player datas after the download finished? the skin id is 20007 and i use this id in the setspawninfo but i spawning with CJ skin. but if i use /setskin, or SetPlayerSkin after spawning, the custom skin works properly.
this is my artconfig line:
AddCharModel(305, 20007, "persn6.dff", "persn6.txd");
Re: 0.3.8 SetSpawnInfo custom skin bug -
Psycho96 - 07.11.2017
Can you show your pawn code line?
Your artconfig line seems good.
Re: 0.3.8 SetSpawnInfo custom skin bug -
aoky - 07.11.2017
The new models only work with SetPlayerSkin. You'll have to find a new way around it.
Kalcor said:
Quote:
Custom skins can only be used with SetPlayerSkin().
|
Re: 0.3.8 SetSpawnInfo custom skin bug -
m4karow - 07.11.2017
Quote:
Originally Posted by aoky
The new models only work with SetPlayerSkin. You'll have to find a new way around it.
Kalcor said:
|
yeah i guessed, thanks
but where is that post?
Re: 0.3.8 SetSpawnInfo custom skin bug -
aoky - 07.11.2017
Quote:
Originally Posted by m4karow
yeah i guessed, thanks
but where is that post?
|
http://forum.sa-mp.com/showpost.php?...50&postcount=2
Here bud.
Re: 0.3.8 SetSpawnInfo custom skin bug -
Psycho96 - 07.11.2017
Quote:
Originally Posted by aoky
The new models only work with SetPlayerSkin. You'll have to find a new way around it.
Kalcor said:
|
So, why I'm using SetSpawnInfo and it's setting ok the skin? :v
Re: 0.3.8 SetSpawnInfo custom skin bug -
Xeon™ - 07.11.2017
Quote:
Originally Posted by Psycho96
So, why I'm using SetSpawnInfo and it's setting ok the skin? :v
|
i think you are using the RedirectSkin by Freeshncool?
Re: 0.3.8 SetSpawnInfo custom skin bug -
Psycho96 - 07.11.2017
Quote:
Originally Posted by Xeon™
i think you are using the RedirectSkin by Freeshncool?
|
Nope, I just record a video about it:
https://www.youtube.com/watch?v=WN3s4npMkdM
It's with SetSpawnInfo and SpawnPlayer
Re: 0.3.8 SetSpawnInfo custom skin bug -
aoky - 07.11.2017
Quote:
Originally Posted by Psycho96
|
You sure you don't have the skin in your actual mod files?