SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/05/2018, 03:30 PM   #1
jvdg
Little Clucker
 
Join Date: Jan 2016
Posts: 13
Reputation: 0
Default Saving 0.3.7-DL player skins

Hey. I'm using Y-NI to save player skins after they disconnect. The problem is that when a player disconnect with a custom skin (let's call the ID 20200), when he comes back with the SA-MP skin based used to that ID (eg. 18, and not the custom skin.

How can I change this? Thanks.
jvdg is offline   Reply With Quote
Old 02/05/2018, 03:36 PM   #2
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 57
Default Re: Saving 0.3.7-DL player skins

Use this include http://forum.sa-mp.com/showthread.php?p=3978829
Dice_ is offline   Reply With Quote
Old 02/05/2018, 03:47 PM   #3
jvdg
Little Clucker
 
Join Date: Jan 2016
Posts: 13
Reputation: 0
Default Re: Saving 0.3.7-DL player skins

Quote:
Originally Posted by Dice_ View Post
Thanks! But...

error 017: undefined symbol "GetPlayerCustomSkinEx"

I put the include on the top and replaced all "GetPlayerSkin" with "GetPlayerSkinEx" and this error appeared. Can you help me? Did you use this include?

#EDIT And I should put "GetPlayerSkinEx" only in Y-INI lines, right?
jvdg is offline   Reply With Quote
Old 02/05/2018, 04:11 PM   #4
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 57
Default Re: Saving 0.3.7-DL player skins

You don't need to change anything as far as I know,just include them and test it.
Dice_ 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
[BUG]Not saving skins Connor Smith Scripting Help 6 11/09/2014 09:20 PM
[FilterScript] Saving location,saving skins _XSnipER_ Filterscripts 5 24/08/2012 09:56 AM
A problem with saving skins to a file when a player leaves [NWA]Hannes Scripting Help 1 16/06/2012 08:54 PM
Saving skins. Rickyboy30 Help Archive 3 04/10/2009 09:20 PM


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


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