[CODE]for i=0, 10 do
local query = "INSERT INTO antigavur ( SteamID64, Country ) VALUES ('213123"..i.."','"..(i*5).."')"
sql.Query(query)
print("QUERY OK FOR "..i)
end[/CODE]
I ran this code on my local dedicated server and it worked but when I run it on my hosted darkrp server, it doesn't work. I checked that there is a table like antigavur and there wasnt any index. No errors
It's solved after restart immediately.
Sorry, you need to Log In to post a reply to this thread.