RP NAMES QUESTION
#5

Quote:
Originally Posted by stabker
Посмотреть сообщение
Try it:
Next code put into OnPlayerConnect:

pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(!(name[0] >= 'A' && name[0] <= Z && strfind(name, "_") != -1 && strfind(name, "_")+1 <= strlen(name) && name[strfind(name, "_")+1] >= 'A' && strfind(name, "_")+1 <= 'Z'))
{
    SendPlayerMessage(playerid, -1, "Use RP nick! Example: Carl_Johnson, Stabker_Steepson");
    Kick(playerid);
    return 1;
}
(I dont test it, just write per few minutes. Sorry for my bad English )
He wants to do the opposite of that. He wants people to use ANY name instead of RP names on his rp server, which I find weird.
Reply


Messages In This Thread
RP NAMES QUESTION - by geohareas - 20.12.2012, 16:53
Re: RP NAMES QUESTION - by park4bmx - 20.12.2012, 19:59
Re: RP NAMES QUESTION - by Randy More - 20.12.2012, 22:53
Re: RP NAMES QUESTION - by stabker - 21.12.2012, 00:27
Re: RP NAMES QUESTION - by EAsT-OAK_510 - 21.12.2012, 00:30
Re: RP NAMES QUESTION - by stabker - 21.12.2012, 00:32
Re: RP NAMES QUESTION - by EAsT-OAK_510 - 21.12.2012, 00:34
Re: RP NAMES QUESTION - by dannyk0ed - 21.12.2012, 01:26

Forum Jump:


Users browsing this thread: 1 Guest(s)