[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:
#12
Hows it going with this Zehir? Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)