1
当我尝试创建我的代码timer.Simple我给出的这个错误:当创建一个timer.SImple它给了我错误的参数#2错误
bad argument #2 to 'Simple' (function expected, got no value)
我已经找了很多不同的地方罚款答案,但无法找到任何解决办法。 代码:
http.Fetch("http://api.time-gaming.co.uk/lua-api.php?key="..ipsd.key.."&email="..ipsd.email.."&type=info",
function(body, len, headers, code)
ipsd.initaldata = body
print("Checking Licence Key!")
print(ipsd.initaldata)
timer.Simple(2, activate())
end,
function(error)
print("Failed to recive data from the web!")
end
)
尝试'timer.Simple(2,激活)' –