How can i login without this?[rep]
#8

this ??

Код:
public OnPlayerConnect(playerid)
			{
				new string[128];
				new string2[128];
			    new plname[MAX_PLAYER_NAME];
			    new playersip[64];
			    new zone[MAX_ZONE_NAME];
			    new bancheck[64];
			    new msg2[128];
			    new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
			    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
			    GetPlayerName(playerid, plname, sizeof(plname));
			    GetPlayerIp(playerid,playersip,sizeof(playersip));
			    new namestring = strfind(plname, "_", true);
			    format(string, sizeof(string),"%s",playersip);
			    gPlayerUsingLoopingAnim[playerid] = 0;
				gPlayerAnimLibsPreloaded[playerid] = 0;

				if(AntiName == 1)
				{
			   if(namestring == -1)
			  {
			            format(string, sizeof(string),"%s, Has been kicked by the Anticheat Peter Griffin for Having an Unvalid Name",plname);
						SendClientMessageToAll(COLOR_NICERED, string);
						SendClientMessage(playerid, COLOR_YELLOW2, "Immigration Department: Your name is not acceptable.");
						SendClientMessage(playerid, COLOR_YELLOW2, "Hint: Your name must be in the format Firstname_Lastname.");
						format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat Has Kicked %s for Invalid Name",d,m,y,h,mi,s,plname);
						KickLog(string);
						return 1;
					}
				}
			 	if(IsPlayerNPC(playerid))
			  	{
			   		SpawnPlayer(playerid);
			     	return 1;
			   	}
Reply


Messages In This Thread
How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 16:53
Re: How can i login without this?[rep] - by lamarr007 - 26.01.2012, 17:57
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 18:48
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 19:55
Re: How can i login without this?[rep] - by Turbo_Charged_GTR - 26.01.2012, 20:02
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 20:07
Re: How can i login without this?[rep] - by Turbo_Charged_GTR - 26.01.2012, 20:14
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 20:49
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 21:10
Re: How can i login without this?[rep] - by Dan_Barocu - 26.01.2012, 21:56

Forum Jump:


Users browsing this thread: 1 Guest(s)