26.03.2018, 14:06
Hi guys.
Someone can tell me how?I use Dini on my server.Or tell me use other code do it.
PHP код:
if(dialogid == 8)
{
if(response)
{
if(listitem == 0)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), PATH, name);
dini_Set(file, "WDCK", dini_Int(file, "WDCK")+inputtext);//error
new string[128];
format(string, sizeof(string), "仓库 %d", dini_Int(file, "WDCK"));
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_INPUT, "仓库", string, "Okay", "");
}
}
}