PDA

View Full Version : Scripting Help!


ThePrograme
15/09/2012, 07:26 PM
I do't know how to make this anybody who can show me how

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

Ronaldo_raul™
15/09/2012, 08:08 PM
What are you trying do to ?

ThePrograme
15/09/2012, 08:22 PM
Im trying to make on off skin saving get it

Ronaldo_raul™
16/09/2012, 07:03 AM
How do you save your other variables ?
Y_INI ?

ThePrograme
16/09/2012, 04:02 PM
yes y_ini

ThePrograme
16/09/2012, 04:05 PM
Anyone

ThePrograme
16/09/2012, 05:03 PM
bump

ThePrograme
16/09/2012, 06:28 PM
????

TaLhA XIV
16/09/2012, 06:39 PM
Stop bumping your topic,your second bump was right after 3 mins.

ThePrograme
16/09/2012, 06:45 PM
Sorry realy need it and don't know how to do it

Ronaldo_raul™
16/09/2012, 07:22 PM
So, all you want to do is save the player skin when he/she leaves the server ?
OMFG!
Give proper information in proper English.

This can be my last reply, if the above things aren't taken into consideration.

ThePrograme
16/09/2012, 07:28 PM
Ok i want when player types /ski he can choose to saveskin on/off in dialog