Are you in my clan? I don't think so,
#6

Simpler:


Код:
/ AUTO BAN / DETECT SYSTEM

	new playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid,playername,sizeof(playername));
	
	if(strfind(playername, "[ARP]", true) == -1){ // DETECT AN UNWANTED PERSON
	}else{
	new string[256];
	GetPlayerName(playerid,playername,sizeof(playername));
	SendClientMessageToAll(COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------");
	SendClientMessageToAll(COLOR_BRIGHTRED, "RADICAL RP ADMINISTRATIVE NOTICE - AUTOMATED TRASH DISPOSAL SYSTEM");
	SendClientMessageToAll(COLOR_GREY, "An [ARP] member has been detected.");
	format(string, sizeof(string), "%s has been automatically banned, as [ARP] members are not tolerated on this server.", playername);
	SendClientMessageToAll(COLOR_GREY, string);
	SendClientMessageToAll(COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------");
	Ban(playerid);
	}

	

This will recognise your Members

if(strfind(playername, "[RRP]", true) == -1){ // DETECT AN RRP MEMBER
	}else{
	//new string[256];
	GetPlayerName(playerid,playername,sizeof(playername));
	SendClientMessage(playerid, COLOR_WHITE, "Welcome [RRP] member.");
	}
Reply


Messages In This Thread
Are you in my clan? I don't think so, - by xCoder - 19.02.2010, 21:42
Re: Are you in my clan? I don't think so, - by bartje01 - 19.02.2010, 21:51
Re: Are you in my clan? I don't think so, - by Onyx09 - 19.02.2010, 22:02
Re: Are you in my clan? I don't think so, - by xCoder - 20.02.2010, 07:22
Re: Are you in my clan? I don't think so, - by ¤Adas¤ - 20.02.2010, 07:31
Re: Are you in my clan? I don't think so, - by [LSR]State_Trooper - 20.02.2010, 08:38
Re: Are you in my clan? I don't think so, - by xCoder - 20.02.2010, 22:27

Forum Jump:


Users browsing this thread: 4 Guest(s)