mayel
New Member
Hello guys,
How do i use the db.getResult lua code to get i.e a characters Vipdays into a variable called paccd. I'll try, correct me...
local accid = getPlayerAccountId(cid)
local paccd = db.getResult(SELECT 'Vipdays' FROM 'accounts' WHERE 'id' == '..accid..'
It generates an error of course, what's wrong?
How do i use the db.getResult lua code to get i.e a characters Vipdays into a variable called paccd. I'll try, correct me...
local accid = getPlayerAccountId(cid)
local paccd = db.getResult(SELECT 'Vipdays' FROM 'accounts' WHERE 'id' == '..accid..'
It generates an error of course, what's wrong?