log file

Posted By: mihar

log file - 04/09/08 07:38

Hai.. my name is rahim. I have a question, i hope someone can help me. In my car simulation, i want to make a log file. this log file can show what driver do in a certain time. how and what the code. in this simulation, i use car project script ( c- script).
Posted By: DarkWhoppy_

Re: log file - 04/11/08 01:06

You could create a WHILE loop that executes a function, which writes certain data to a file.

Every time the fuction is executed it appends the data to the end of the file. You probably don't want to make a while loop that continues forever writing data to a file... Maybe only have it execute every few seconds? Or only if certain keys are pressed.
Posted By: Uhrwerk

Re: log file - 04/11/08 02:06

I guess you want to have a look at the diag() instruction.
© 2024 lite-C Forums