04.04.2011, 02:58
Oh hi !
i got this Skin dialog
Simply but.. after Reconnect the skin is gone..
now my question is how do i make this Skin Save
anyone who can make a code or get me a link, would be nice thanks !
i got this Skin dialog
pawn Код:
if(strcmp(cmdtext, "/changeskin", true) == 0)
{
if(!IsPlayerInRangeOfPoint(playerid, 10.0, 207.4390,-105.3136,1005.1328)) return SendClientMessage(playerid,-1,"You are not at Binco!");
ShowPlayerDialog(playerid, 5858, DIALOG_STYLE_INPUT, "Skin Change 500$", "Enter the skin id you wish to have below", "Confirm", "Cancel");
return 1;
}
pawn Код:
if(dialogid == 5858)
{
if(response)
{
new skinid, message[64];
skinid = strval(inputtext);
if(skinid < 0 || skinid > 299)
{
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Skin id may be between 0 and 299.");
}
else
{
SetPlayerSkin(playerid, skinid);
format(message, sizeof(message), "SERVER: You have changed your skin id to %d.", skinid);
SendClientMessage(playerid, 0xFFFFFFFF, message);
SafeGivePlayerMoney(playerid,-500);
}
}
return 1;
}
now my question is how do i make this Skin Save
anyone who can make a code or get me a link, would be nice thanks !


there are alot of register script toturias with money saves and with it you can learn how to save the skin and load the skin. Hope the reply helps you