Advertisement
Guest User

Untitled

a guest
Feb 16th, 2017
2,552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1.  
  2. data_pack = {'steamid':playerSteamid}
  3. TSQL.fetchone("SELECT name from users WHERE steamid=%s",  args=(playerSteamid,)), callback=getNameBySteamid, data_pack=datapack)
  4.  
  5.  
  6.              # Query data # The special variables
  7. def getNameBySteamid(data, data_pack):
  8.      playerSteamid = data_pack['steamid']
  9.      query_data = data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement