Hello, my OT has "TODO" after getPlayerAccount(cid), so that lua function doesn't work.
Is there an alternative to get this SQL command to work?
db.executeQuery("UPDATE `accounts` SET `premium_points` = `premium_points` + " .. t.points .. " WHERE `name` = '" .. getPlayerAccount(cid) .. "';")
Ty.
Is there an alternative to get this SQL command to work?
db.executeQuery("UPDATE `accounts` SET `premium_points` = `premium_points` + " .. t.points .. " WHERE `name` = '" .. getPlayerAccount(cid) .. "';")
Ty.