Turk-oghlan Posted June 4, 2019 Share Posted June 4, 2019 Hello friends Is there a script that prevents the name from being changed on the server ??For example, when the player registered on the server, there is no longer the possibility of renaming, and even if it changes its name in the MTA settings, it will again be arranged with the same previous name that was selected at the time of registration. Sorry. My English is poor Please help me. Link to comment
Scripting Moderators ds1-e Posted June 4, 2019 Scripting Moderators Share Posted June 4, 2019 (edited) 19 minutes ago, Turk-oghlan said: Hello friends Is there a script that prevents the name from being changed on the server ??For example, when the player registered on the server, there is no longer the possibility of renaming, and even if it changes its name in the MTA settings, it will again be arranged with the same previous name that was selected at the time of registration. Sorry. My English is poor Please help me. https://wiki.multitheftauto.com/wiki/IsGuestAccount / https://wiki.multitheftauto.com/wiki/GetPlayerAccount + https://wiki.multitheftauto.com/wiki/OnPlayerChangeNick This will work only if player will change nick, and it wouldn't check for the first nickname. So you would need to save nick, when player register, in database for example. Edited June 4, 2019 by majqq Link to comment
Turk-oghlan Posted June 4, 2019 Author Share Posted June 4, 2019 1 hour ago, majqq said: https://wiki.multitheftauto.com/wiki/IsGuestAccount / https://wiki.multitheftauto.com/wiki/GetPlayerAccount + https://wiki.multitheftauto.com/wiki/OnPlayerChangeNick This will work only if player will change nick, and it wouldn't check for the first nickname. So you would need to save nick, when player register, in database for example. It only works when the player is present on the server. I want this feature like the script to save money, weapons, skins and ... but with the difference that the player can not change the name. Please help if you can Thanku Link to comment
Scripting Moderators ds1-e Posted June 4, 2019 Scripting Moderators Share Posted June 4, 2019 1 hour ago, Turk-oghlan said: It only works when the player is present on the server. I want this feature like the script to save money, weapons, skins and ... but with the difference that the player can not change the name. Please help if you can Thanku Sorry, i can't help you. At the moment i don't know much about database functions. Link to comment
Turk-oghlan Posted June 5, 2019 Author Share Posted June 5, 2019 13 hours ago, majqq said: Sorry, i can't help you. At the moment i don't know much about database functions. Thanks again to my friend Can other friends guide me? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now