optioncfg = getWorkingDirectory() .. '\\playersinstream.ini'
if not doesFileExist(optioncfg) then
f = io.open(optioncfg, 'w')
f:close()
end
setting = inicfg.load(nil, optioncfg)
if not setting then
inicfg.save({
set = {
posX = 0,
posY = 400,
isEnabled = true,
id = true,
nick = true,
dis = true,
ping = true,
afk = true,
score = true,
skinid = true,
onfootincar = true,
hp = true,
armor = true,
weapon = true,
ammo = true,
--organization = true,
quantity = true,
isEnableWay = 0,
isEnableCmd = 'ren',
isEnableKey = '',
styleText = 'Arial',
sizeText = 12,
lineDis = 22,
lang = 1
}
}, optioncfg)
setting = inicfg.load(nil, optioncfg)
end