brunolopes
New Member
- Joined
- Nov 8, 2009
- Messages
- 49
- Reaction score
- 1
Hello, people. ^_^
I am with a problem...
I need to return numbers with an SQL Query, like this:
The table 'number' have a number, for example.
But the function don\'t print nothing
Can someone help me? I rep+
I am with a problem...
I need to return numbers with an SQL Query, like this:
Code:
function getNumber(cid)
return db.executeQuery("SELECT `number` FROM `players` WHERE id = ".. getPlayerGUID(cid) .."")
end
print(getNumber(cid))
The table 'number' have a number, for example.
But the function don\'t print nothing
Can someone help me? I rep+