Scripting Help!
#1

I do't know how to make this anybody who can show me how
pawn Код:
FormatSkinList(playerid)
{
    new
        list[ (MAX_SKIN_NAME + 1) * TOTAL_SKINS];

    for(new i; i<TOTAL_SKINS; i++)
    {
        if(!IsValidSkin(i))continue;
        strcat(list, GetSkinName(i));
        strcat(list, "\n");
    }
   
    ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "Skins", list, "Save Skin On", "Save Skin Off");
}
Your code may require some assembly (No that's not a pun)
Requirements:

function IsValidSkin(skinid)
function GetSkinName(skinid)
constant TOTAL_SKINS (I think it's 300)
constant MAX_SKIN_NAME
Reply
#2

What are you trying do to ?
Reply
#3

Im trying to make on off skin saving get it
Reply
#4

How do you save your other variables ?
Y_INI ?
Reply
#5

yes y_ini
Reply
#6

Anyone
Reply
#7

bump
Reply
#8

?
Reply
#9

Stop bumping your topic,your second bump was right after 3 mins.
Reply
#10

Sorry realy need it and don't know how to do it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)