30.10.2012, 15:49
Hello.
I'm searching for a little function to check if the string is a roleplay-name.
It also checks how many "_" or "." are in the String.
It should be only 1 "_" or "." ^^
And the first name must be 2 or more letters.
No numbers in the name.
Only "John_Smith", "Joe_Smith" ect.
The Function should be like this:
IsRoleplayName(name[]); - Return "true" if yes
or
IsRoleplayName(playerid); - Return "true" if yes
^^
Thanx :*
I'm searching for a little function to check if the string is a roleplay-name.
It also checks how many "_" or "." are in the String.
It should be only 1 "_" or "." ^^
And the first name must be 2 or more letters.
No numbers in the name.
Only "John_Smith", "Joe_Smith" ect.
The Function should be like this:
IsRoleplayName(name[]); - Return "true" if yes
or
IsRoleplayName(playerid); - Return "true" if yes
^^
Thanx :*