Not writing to the file
#1

Код:
	if(dialogid == DIALOG_NOTE2)
	{
	    if(response)
	    {
	                new string[150];
            		if(strlen(inputtext) < 3) return SendClientMessage(playerid,RED,"You must write atleast 3 characters.");
            		PlayerInfo[playerid][pNote1] = strval(inputtext);
					new INI:File = INI_Open(UserPath(playerid));
					INI_WriteString(File, "pNote1",inputtext);
					INI_Close(File);
					format(string,sizeof(string),"[Note] You have successfully wrote %s in your note.",inputtext);
					MSG(playerid,GREEN,string);
		}
	}
Everything goes OK, but it doesn't write anything to the file, why?
Reply
#2

Bump.
Reply
#3

Do you use SSI?
Reply
#4

Y_INI.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)