About trunks.
#8

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
we have IDX 0 and we will add 1 to it for each formatted and write'n line so while idx is lover than a max_something server will save lines to file (until it gets to max_something)

io_write writes a FIRST LINE AND OVERRIDE everything alse
io_append writes a line at the end of the file

[EDIT]Since you converting it to sqlLite you will just need to update that info
Thanks, that helped me understand the parameters of fopen.

EDIT: Just wanted something else to ask, what's with the idx being so high?

pawn Код:
new idx = 184;
while (idx < sizeof(CarInfo))
{
//code code
idx++;
}
BTW, I'm also adding a `Key` that auto-increments, does it matter?
Reply


Messages In This Thread
About trunks. - by Zh3r0 - 14.07.2011, 17:36
Re: About trunks. - by Steven82 - 14.07.2011, 19:28
Re: About trunks. - by Flyfishes - 14.07.2011, 19:28
Re: About trunks. - by Zh3r0 - 14.07.2011, 20:29
Re: About trunks. - by DRIFT_HUNTER - 14.07.2011, 21:01
Re: About trunks. - by Zh3r0 - 14.07.2011, 21:03
Re: About trunks. - by DRIFT_HUNTER - 14.07.2011, 21:10
Re: About trunks. - by Zh3r0 - 14.07.2011, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)