Deleting a line from a file?
#1

EDIT: Question solved.
Reply
#2

you would need to read the whole file, erase the line you don't want, and then write it back in.
Reply
#3

Well, i've found a function for it.. now I have another question which I will edit the post with.
Reply
#4

Anything on deleting a file completely?
Reply
#5

Quote:
Originally Posted by ScottCFR
Посмотреть сообщение
Anything on deleting a file completely?
https://sampwiki.blast.hk/wiki/Fremove

pawn Код:
fremove("YOURFILEHERE.EXTENSION");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)