[Under construction] Auth plugin
#11
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.
Reply
Thanks given by:


Messages In This Thread
[Under construction] Auth plugin - by Zehir - 06-01-2011, 07:21 AM
RE: Auth plugin - by FakeTruth - 06-01-2011, 08:53 AM
RE: Auth plugin - by Zehir - 06-02-2011, 04:38 AM
RE: Auth plugin - by FakeTruth - 06-02-2011, 06:51 AM
RE: Auth plugin - by Zehir - 06-02-2011, 06:59 AM
RE: [Under construction] Auth plugin - by Zehir - 06-02-2011, 09:01 AM
RE: [Under construction] Auth plugin - by Zehir - 06-02-2011, 09:42 PM
RE: [Under construction] Auth plugin - by Zehir - 06-04-2011, 02:11 AM
RE: [Under construction] Auth plugin - by Zehir - 06-12-2011, 02:07 AM
RE: [Under construction] Auth plugin - by Tim - 08-16-2011, 06:57 PM



Users browsing this thread: 1 Guest(s)