AeroGaming Posted March 7, 2011 Share Posted March 7, 2011 Hey guys, i want to know if anyone had a script that only allows a register character name with this format only: Firstname_Lastname <- Thanks again in advance, if you support. Link to comment
Castillo Posted March 7, 2011 Share Posted March 7, 2011 We don't accept request. what gamemode do you use? MTA paradise? because that one only allows Firstname Lastname. Link to comment
InDev Posted March 7, 2011 Share Posted March 7, 2011 But we can help you script this kind of thing You can use the LUA function: string.find( s, pattern ) Where 's' is the player name and 'pattern' is the character or string you want to find in the name Link to comment
Moderators Citizen Posted March 7, 2011 Moderators Share Posted March 7, 2011 A little tutorial about this function: http://lua-users.org/wiki/PatternsTutorial 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