Advertisement
lcast15

Python SteamID to SteamID64

Dec 21st, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def SteamID264ID(SID):
  2.     SIDSplit = SID.split(':')
  3.     SID = int(SIDSplit[2]) * 2
  4.    
  5.     if SIDSplit[1] == '1':
  6.         SID += 1
  7.      
  8.     SID += 76561197960265728
  9.    
  10.     return SID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement