ID:274030
Dec 20 2011, 3:49 am
|
|
I Was Wondering How I Could Make It To Where A Player Can Not Make Using A Name Already In Use?
|
Copyright © 2025 BYOND Software.
All rights reserved.
What you're going to have to do is store all current names in a database of some sort. A simple list or savefile or something like that will suffice, though there are certainly many alternative methods. All you have to do is, upon an attempt to set a name, you check the database and see if the name already exists. If it does, you force them to choose a new name. Otherwise, add the new name to the list and set their name to it.