Names _
#3

Код:
Public OnPlayerConnect(playerid)
{
	LoggedTime[playerid] = 0;
	new string[256];
	gPlayerLogged[playerid] = 0;
	gAdminLogged[playerid] = 0;
	new plname[MAX_PLAYER_NAME],tmpvar;
	GetPlayerName(playerid, plname, sizeof(plname));
	if(!NameIsRP(plname)) {
		SendClientMessage(playerid, COLOR_WHITE, "Your ServerName: Your name is not applicable on Test  Server Dare Devil.");
		SendClientMessage(playerid, COLOR_YELLOW2, "HINT: Your name must be in the format of Firstname_Lastname.");
		Kick(playerid);                           //yes, use Kick here because theres no data to save . ( this is lets player to be kicked after the message (Dare Devil)
		return 1;
	}
PS : if i helped you Dont forget to Rep
Reply


Messages In This Thread
Names _ - by Dare Devil..... - 06.08.2012, 13:33
Re: Names _ - by BlackBank - 06.08.2012, 13:38
Re: Names _ - by BigBaws - 06.08.2012, 13:41
Re: Names _ - by RelaxCafe - 06.08.2012, 13:50
Re: Names _ - by leonardo1434 - 06.08.2012, 13:57
Re: Names _ - by Vince - 06.08.2012, 14:11
Re: Names _ - by leonardo1434 - 06.08.2012, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)