hello all :)
I look for a script that changes my public hub in private hub has a precise hour
ex: 23h - 8h clock in private hub
8h - 23h clock go to public hub
I hope that I bore you not too much thank you ;D
sorry for my english
its already done:
http://forum.ptokax.org/index.php?topic=5025.0 (http://forum.ptokax.org/index.php?topic=5025.0)
maby you need to modify it a bit..
merci
but i have this error
is this script in lua 5.1 ?
scripts\LoginBlock with time settings.lua:175: attempt to call a table value
i have make logintimer.dat file in script directory
and paste this
bSettings = {
["login"] = {
["message"] = "None",
["end"] = 0,
["enable"] = 0,
["start"] = 0,
},
}
is ok the script was in lua 5
no more error merci Leun and CrazyGuy ;)
in function Serialize change
for key, value in tTable do
to
for key, value in pairs(tTable) do
that should do it 8)