Jump to content

Set players name


Recommended Posts

Hello guys I have a quick question..how can I prevent my players to change their name in game? For example if someones ingame name is Jim and he goes into mtas menu And changes it to chuck okay how can I code my server to still see him at Jim and have his name stay the same unless he registers another account? Purhaps by recording his serial? Because my server is set up so when a player logs in they are brought to a character selection screen and select their name there however right when they spawn as their character they can go to mtas menu and change the name to whatever they want, also how can I make it so two players can't have the same name? Thanks guys!

Link to comment

This is something you might want to reconsider. Being forced not to change one's name is just annoying, and from a scripting point of view, I can't see a good reason to impose that limitation on your players. From an administration point of view, I might, but in either case there are better solutions.

What do you have against nick changes?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...