Wrong?
#7

so you use the file functions, you first need to create the Bug.txt file in scriptfiles then you replace SaveInFile with:

Код:
new File:Bug = fopen("/Bugs.txt", mode = io_readwrite)
if(Bug)
{
	fwrite(Bug, bug)
	fclose(Bug)
}
and you do the same with the sugestion, create Suggestions.txt and replace SaveInFile:

Код:
new File:Suggestion = fopen("/Suggestions.txt", mode = io_readwrite)
if(Suggestion)
{
	fwrite(Suggestion, sug)
	fclose(Suggestion)
}
hope it helps, i never used these functions, i use Y_Ini for this...
Reply


Messages In This Thread
Wrong? - by DarkB0y - 24.06.2013, 13:32
Re: Wrong? - by [MG]Dimi - 24.06.2013, 14:02
Re: Wrong? - by DarkB0y - 24.06.2013, 14:16
Re: Wrong? - by adithegman - 24.06.2013, 14:21
Re: Wrong? - by DarkB0y - 24.06.2013, 14:23
Re: Wrong? - by adithegman - 24.06.2013, 14:29
Re: Wrong? - by adithegman - 24.06.2013, 14:47
Re: Wrong? - by DarkB0y - 24.06.2013, 14:52
Re: Wrong? - by adithegman - 24.06.2013, 14:53
Re: Wrong? - by DarkB0y - 24.06.2013, 14:58

Forum Jump:


Users browsing this thread: 2 Guest(s)