> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/invite-user-to-game.md).

# Invite User To Game

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Invites a friend or clan member to the current game using a special invite string.\
\
If the target user accepts the invite then the pchConnectString gets added to the command-line when launching the game.\
If the game is already running for that user, then they will receive a [GameRichPresenceJoinRequested\_t](https://partner.steamgames.com/doc/api/ISteamFriends#GameRichPresenceJoinRequested_t) callback with the connect string.

### User ID (Input)

The user you want to invite

### Connection String (input)

The connection string you want to send that friend

### Return Value

True if the invite was successfully sent

False under the following conditions:

* The User ID provided was invalid.
* The User ID provided is not a friend or does not share the same Steam Group as the current user.
* The value provided to the Connection String was too long.

## Nodes

<figure><img src="/files/d8gVB0PSEvHhLWsk13Tl" alt=""><figcaption></figcaption></figure>
