Hi,
i have question, how i can check in TFS [1.2+] what players have in table players.
This is have error:
im new in this language and i have problem. Do you have any tutorials or tips how i can check this information?
Sorry for my english.
i have question, how i can check in TFS [1.2+] what players have in table players.
Code:
local accid = getAccountNumberByPlayerName(getPlayerName(cid))
local data = db.storeQuery("SELECT `lang` FROM `players` WHERE `id` ='"..accid.."';")
local lang = data.getDataInt(data, "lang")
This is have error:
Code:
attempt to index local 'data' (a boolean value)
im new in this language and i have problem. Do you have any tutorials or tips how i can check this information?
Sorry for my english.