Forum

> > CS2D > Scripts > save system
Forums overviewCS2D overview Scripts overviewLog in to reply

English save system

5 replies
To the start Previous 1 Next To the start

old save system

TheKiller_AN
User Off Offline

Quote
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

old Re: save system

MikuAuahDark
User Off Offline

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

old Re: save system

omg
User Off Offline

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

old Re: save system

TheKiller_AN
User Off Offline

Quote
user omg has written
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

old Re: save system

MikuAuahDark
User Off Offline

Quote
so you want to use a save system for citylife?? just search for citylife scripts at over there. if you use file File does not exist (4733) just create a folder called "rp_citylife"(without quotes) at cs2d/sys/lua
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview