steam_get_user_account_id

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.