Quote:
Originally Posted by PDDS™
You haven't defined the query_result as Array. This may be the problem why the cores are crashing.
|
then the solution is this?
when event3.server_timer begin
local ret_value, ret_array = execute_query("player", "SELECT id_ti FROM good ORDER BY RAND() LIMIT 1")
local id_vinc = tonumber(ret_array[1][1])
notice_all("Number: "..id_vinc..".")
server_timer("event2",3)
end