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).
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.