function RegisterUser(player,password)
{
Logged.Load(player.Name + "Logged","True");
Password.Load(player.Name + "Password", password);
Cash.Add(player.Name + "Cash", "0");
IP.Add( player.Name + "IP", player.IP );
Level.Add( player.Name + "Level" "1");
}
Logged.Load(player.Name + "Logged","True");
Password.Load(player.Name + "Password", password);
I believe you meant HashTable.Add
IP <- HashTable("Ip's");
Make it Ips instead of Ip's to be safe.
LoadModule( "lu_sqlite" ); // Load up the sqlite module
Not even using SQLite, why load the module for it?
Level.Add( player.Name + "Level" "1");
Logged.Add(player.Name + "Logged" "True" );
Missing a comma, should be:
Level.Add( player.Name + "Level", "1");
Logged.Add(player.Name + "Logged", "True" );
local IP = player.IP, Login = Logged.Get( player.Name + "Logged" );
local OIP = IP.Get( player.Name + "IP" ), lvl = Level.Get(player.Name + "Level");
You defined IP at a local level:
local IP = player.IP
Therefore,
IP.Get( player.Name + "IP" )
Will fail.
Triple check your code thoroughly. I've helped this time, but I likely won't help with any careless syntax errors after this.