steam_get_user_account_id

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

Syntax:

GML Code Example

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:

GML Code 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.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here