05-19-2015, 04:39 AM
Hellow 
I'm just new in lua and don't know how to create configs..
I've searched but no solutions found.

I'm just new in lua and don't know how to create configs..
I've searched but no solutions found.
How to create Configs?
|
05-19-2015, 04:39 AM
Hellow
![]() I'm just new in lua and don't know how to create configs.. I've searched but no solutions found.
There are multiple ways you can create config files. You can use cIniFile. That way you can create configuration files as .ini files.
Another option could be to use Lua's loadstring or loadfile function. That way you'd have the Lua syntax as a config file. An advantage of that is that you can easily let the admin create arrays and other things in the configuration file itself. Of course these are just some of the ways you could create config files. Examples: cIniFile: Paintball, Bullet loadstring: WorldEdit, Chatter, Gallery
05-19-2015, 06:13 AM
thanks.
|
« Next Oldest | Next Newest »
|