Garry's Mod Wiki

Revision Difference

util.SteamIDTo64#552163

<function name="SteamIDTo64" parent="util" type="libraryfunc"> <description>Given a STEAM_0 style Steam ID will return a 64bit Steam ID</description>⤶ <description>Converts a <page text="STEAM_0:0:0">Player:SteamID</page> style SteamID to a <page text="64bit SteamID">Player:SteamID64</page>.</description>⤶ <realm>Shared</realm> <file_name>src/garrysmod/Library/gl_util.cpp</file_name> <file_line>1275</file_line> <args> <arg name="id" type="string">The STEAM_0 style id</arg>⤶ <arg name="id" type="string">The <page text="STEAM_0:0:0">Player:SteamID</page> format SteamID</arg>⤶ </args> <rets> <ret name="" type="string">64bit Steam ID or 0 (as a string) on fail</ret> <ret name="" type="string"><page text="64bit SteamID">Player:SteamID64</page> or 0 (as a string) on fail</ret> </rets> </function>⤶ </function>