Loading a string with Dini?
#4

try and see if it work

pawn Код:
if (dialogid == Skint)
{
if(response)
{
if(!strlen(inputtext) || strlen(inputtext) >= 300 || strlen(inputtext) < 1)
{
ShowPlayerDialog(playerid, Skint, DIALOG_STYLE_INPUT, "Skin", "You can't choose that skin!", "Accept", "Cancel");
return 1;
}
dini_Set(archivo, "skin", inputtext);
SetPlayerSkin(playerid, dini_Int(archivo, "skin"));
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "You selected cancel, you you got kicked!");
Kick(playerid);
}
return 1;
}
Reply


Messages In This Thread
Loading a string with Dini? - by lawonama - 18.07.2011, 20:08
Re: Loading a string with Dini? - by Adil - 18.07.2011, 20:28
Re: Loading a string with Dini? - by lawonama - 18.07.2011, 20:48
Re: Loading a string with Dini? - by eDz0r - 18.07.2011, 20:52
Re: Loading a string with Dini? - by park4bmx - 18.07.2011, 20:52
Re: Loading a string with Dini? - by DeadAhead - 18.07.2011, 20:55
Re: Loading a string with Dini? - by lawonama - 18.07.2011, 21:02
Re: Loading a string with Dini? - by Fj0rtizFredde - 18.07.2011, 21:02
Re: Loading a string with Dini? - by lawonama - 18.07.2011, 21:04
Re: Loading a string with Dini? - by lawonama - 18.07.2011, 21:10

Forum Jump:


Users browsing this thread: 2 Guest(s)