Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
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.
Posts: 21
Threads: 2
Joined: Nov 2017
Reputation:
0
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?
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
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");
Posts: 21
Threads: 2
Joined: Nov 2017
Reputation:
0
Can you show your pawn code line?
Your artconfig line seems good.
Posts: 457
Threads: 7
Joined: Jul 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?