RP name check... help please
#4

Quote:
Originally Posted by introzen
Посмотреть сообщение
Does that check the capital of both Firstname and Lastname?
Only the first name, if you wan't do the last name then replace my edited code with this.

pawn Код:
new splitname[2][MAX_PLAYER_NAME];
split(player, splitname, '_');
if (player[n] == '_' && splitname[0+1] >= 'A' && splitname[0+1] <= 'Z' && splitname[1+1] >= 'A' && splitname[1+1]<= 'Z') return 1;
You obviously need the split function to use that. I'm not 100% if that will work or not.
Reply


Messages In This Thread
RP name check... help please - by introzen - 06.07.2010, 18:48
Re: RP name check... help please - by Carlton - 06.07.2010, 18:51
Re: RP name check... help please - by introzen - 06.07.2010, 18:52
Re: RP name check... help please - by Carlton - 06.07.2010, 18:57

Forum Jump:


Users browsing this thread: 2 Guest(s)