SHARE
TWEET

Untitled

a guest Nov 18th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function CheckRegistration (id)
  2.      if testMYSQLconnect then
  3.      local checkUSGN = player(id, "usgn")
  4.      print("debug 1")
  5.      conn:query("SELECT id, usgn FROM users WHERE usgn = "..checkUSGN)
  6.      result = conn:store_result()
  7.           for id, usgn in result:rows() do
  8.           local USGN = usgn
  9.           if (player(id, "usgn") == USGN) then
  10.                print(USGN)
  11.           else
  12.                msg2(id, "\169255000000Username doesn't exist in the database")
  13.           end
  14.          -- end
  15.      conn:close()
  16.      end
  17.      else
  18.           return 1
  19.      end
  20. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top