if(dialogid == 25)
{
if(response)
{
new file[256], string[256];
format(file, sizeof(file), Changesfile);
dini_Create(file);
dini_IntSet(file, "-", udb_hash(inputtext)); //Here
format(string, 128, "[SYSTEM]: You succesfully added a new change with this string: %s.",inputtext);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
if(dialogid == 25)
{
if(response)
{
new file[256], string[256];
format(file, sizeof(file), Changesfile);
dini_Create(file);
dini_Set(file, "", Changes[Change] = inputtext); //HERE
format(string, 128, "[SYSTEM]: You succesfully added a new change with this string: %s.",inputtext);
SendClientMessage(playerid, COLOR_RED, string);
}
return 1;
}