19.10.2010, 02:57
I've got a /changename command i got off forum and minor edited it to make it work with dini io_write.
It works fine, but when i use it, it creates another account in the scriptfiles and moves all the information from the old one to the new one, AND the old one is still there, completely empty when opened in notepad..
Is there any i/o function that can also delete files once it creates a new one,
I'm looking on wiki now at the io functions and theres only reading and writing
It works fine, but when i use it, it creates another account in the scriptfiles and moves all the information from the old one to the new one, AND the old one is still there, completely empty when opened in notepad..
Is there any i/o function that can also delete files once it creates a new one,
I'm looking on wiki now at the io functions and theres only reading and writing
Код:
io_write Writes in a file, clears all earlier written text io_read Reads the file, the file must exist, otherwise a crash will occur io_append Appending to a file, writing only io_readwrite Reads the file or makes a new one