Forum

> > CS2D > Scripts > Asking about file
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Asking about file

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Asking about file

Devil-Thanh
GAME BANNED Off Offline

Zitieren
I have this code
1
2
3
file = io.open("sys/lua/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile()
file:write("test")
file:close()
and the result is
1
test
but I want to add a text in the next line of the file like this
1
2
test
test

So how can I do it?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht