View Single Post
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-01-2014 , 12:25   Re: Player's birthday.
Reply With Quote #44

Quote:
Originally Posted by thetwistedpanda View Post
I'd use GetSteamAccountID, but it'd break compatibility completely and actually require a re-write.
The "correct" way to do this while still using STEAM_-esque IDs is to only compare from character 8 onwards.

If the string "auth" contains "STEAM_0:0:23071901", then auth[8] will be "0:23071901", which is actually how SourceMod internally stores admin Steam IDs.
__________________
Dr. McKay is offline