steam_get_user_account_id

Returns the Steam User ID for the owner of your game.

Syntax:

steam_get_user_account_id();


Returns: Real


Description

This function is used retrieve the unique User ID that Steam assigns to each user, which is required for using some of the User Generated Content functions.


Example:

global.user_id = steam_get_user_account_id();

The above code gets the unique user ID for the person who owns the game and stores it in a global variable.


Back: Steam API
Next: steam_current_game_language
© Copyright YoYo Games Ltd. 2018 All Rights Reserved