Forum

> > CS2D > Scripts > save system
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch save system

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt save system

TheKiller_AN
User Off Offline

Zitieren
Hello,

I just need help in creating save system . . idk how to create one . . can someone help me plz?

hope u will help me


Thanks

alt Re: save system

MikuAuahDark
User Off Offline

Zitieren
1
2
3
variable = io.open(path,"w+")
variable:write(text you want to write)
variable:close()

alt Re: save system

omg
User Off Offline

Zitieren
depends on what u want to save...if u show actual code, its easier

alt Re: save system

TheKiller_AN
User Off Offline

Zitieren
user omg hat geschrieben
depends on what u want to save...if u show actual code, its easier



hmm . . I want to save the licence, addons, and money in an citylife lua

alt Re: save system

MikuAuahDark
User Off Offline

Zitieren
so you want to use a save system for citylife?? just search for citylife scripts at over there. if you use file Datei existiert nicht (4733) just create a folder called "rp_citylife"(without quotes) at cs2d/sys/lua
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht