Hello !
I try to insert in my DB a new player but i can’t find the syntax error here :
--res is a local variable where are stored all value
MySQL.Async.execute(
"INSERT INTO users (identifier,license,pos,cash,bank,permisson_level,group) VALUES (@identifier,@license,@pos,@cash,@bank,@permisson_level,@group)",
{
["@identifier"] = res.identifier,
["@license"] = res.license,
["@pos"] = res.pos,
["@cash"] = res.cash,
["@bank"] = res.bank,
["@permisson_level"] = res.permisson_level,
["@group"] = res.group
})
My DB look like this :