SA-MP Forums Archive
saveSkin Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: saveSkin Problem (/showthread.php?tid=582933)



saveSkin Problem - anassmaroc - 24.07.2015

Hi guys
i have A Problem in saveSkin bcz he don't want saving

i want save Skin from this
Код:
    if(checkpointid == Checkpoint[2])
    {
	   ShowModelSelectionMenu(playerid, SkinList, "Select Skin");
	   return 0;
	}
Код:
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
    if(listid == SkinList)
    {
        if(response)
        {
            SetPlayerSkin(SetSkinPlayer[playerid], modelid);
        }
        return 1;
    }
Hope help me and thanks


AW: saveSkin Problem - Mencent - 24.07.2015

Hello!

Why do you use SetSkinPlayer[playerid]?


- Mencent


Re : AW: saveSkin Problem - anassmaroc - 24.07.2015

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

Why do you use SetSkinPlayer[playerid]?


- Mencent
what i should Use Bro?


AW: saveSkin Problem - Mencent - 24.07.2015

If you want to the skin for you, you should use playerid.

- Mencent


Re: saveSkin Problem - liquor - 24.07.2015

(playerid,modelid);


Re : Re: saveSkin Problem - anassmaroc - 24.07.2015

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

Why do you use SetSkinPlayer[playerid]?


- Mencent
Quote:
Originally Posted by liquor
Посмотреть сообщение
(playerid,modelid);
READY