Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dbQuery( function(qh)
- local result, num, id = dbPoll(qh, 0)
- if result then
- for k, v in ipairs(result) do
- if v.Username == user then
- if v.Password == password then
- outputChatBox("Sikeres bejelentkezés!")
- else
- outputChatBox("Hibás jelszó!")
- end
- end
- end
- end
- end, mysql, "SELECT * FROM Users WHERE Username = ?", user)
Add Comment
Please, Sign In to add comment