Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I get a user's ID with only their name that's offline?

So the title says it all... I'm making something for my game that will let players do things like donate items, send messages, visit their 'place' and other things. Even when they're offline, but it needs the player to know the other player's ID for it to work. this is fine but I want to make it simpler for the player by just using the other layer's name but data in my game is stored with user's IDs. So could I somehow use the player's name and get their ID with it?

1 comment

2 answers

✓ Accepted answer

There is an api for it here:- Get ID from username

The problem is that the httpservice cannot access this so you will have to find a way around this, e.g. call to another server to ask for the info?

Hope this helps.

This discussion is preserved as it was. New answers, comments, and votes are closed.