Cuberite Forum

Full Version: [Under construction] Auth plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Somebody can help for this function? AddKeyName
PHP Code:
local UsersIni = cIniFile("users.ini") if ( UsersIni:ReadFile() == true ) then -- Lit le fichier ini UsersIni:AddKeyName(Player:GetName()) UsersIni:WriteFile() return false end

This not create the keyname [Playername]


Edit: I found the problem. You can not add the key if the file is present but empty.
Hows it going with this Zehir? Smile
Pages: 1 2