0.3.8 SetSpawnInfo custom skin bug
#1

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.
Reply
#2

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?
Reply
#3

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");
Reply
#4

Can you show your pawn code line?
Your artconfig line seems good.
Reply
#5

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

Reply
#6

Quote:
Originally Posted by aoky
View Post
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?
Reply
#7

Quote:
Originally Posted by m4karow
View Post
yeah i guessed, thanks
but where is that post?
http://forum.sa-mp.com/showpost.php?...50&postcount=2


Here bud.
Reply
#8

Quote:
Originally Posted by aoky
View Post
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
Reply
#9

Quote:
Originally Posted by Psycho96
View Post
So, why I'm using SetSpawnInfo and it's setting ok the skin? :v
i think you are using the RedirectSkin by Freeshncool?
Reply
#10

Quote:
Originally Posted by Xeon™
View Post
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
Reply
#11

Quote:
Originally Posted by Psycho96
View Post
Nope, I just record a video about it:

https://www.youtube.com/watch?v=WN3s4npMkdM

It's with SetSpawnInfo and SpawnPlayer
You sure you don't have the skin in your actual mod files?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)