Oh to use this fuction? AddKeyName
I have try this but not work:
I just want add the key if not exist
I have try this but not work:
PHP Code:
local UsersIni = cIniFile("users.ini")
if ( UsersIni:ReadFile() == true ) then
UsersIni:AddKeyName(Player:GetName())
UsersIni:WriteFile()
return true
end
I just want add the key if not exist
Code:
[Playername]