18.07.2011, 20:52
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;
}