Guest User

Untitled

a guest
Sep 2nd, 2017
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. dbQuery( function(qh)
  2. local result, num, id = dbPoll(qh, 0)
  3. if result then
  4. for k, v in ipairs(result) do
  5. if v.Username == user then
  6. if v.Password == password then
  7. outputChatBox("Sikeres bejelentkezés!")
  8. else
  9.  
  10. outputChatBox("Hibás jelszó!")
  11. end
  12. end
  13. end
  14. end
  15. end, mysql, "SELECT * FROM Users WHERE Username = ?", user)
Add Comment
Please, Sign In to add comment