Itutorial
Legendary OT User
- Joined
- Dec 23, 2014
- Messages
- 2,461
- Solutions
- 68
- Reaction score
- 1,123
How do you call from the database?
local function databaseCall(cid, value)
value = ("SELECT `value` FROM `players` WHERE `id` = "..getAccountById(cid).." LIMIT 1)
ret = getDataInt('value')
return ret
something like this?
local function databaseCall(cid, value)
value = ("SELECT `value` FROM `players` WHERE `id` = "..getAccountById(cid).." LIMIT 1)
ret = getDataInt('value')
return ret
something like this?