SA-MP Forums Archive
My /filterreports system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: My /filterreports system (/showthread.php?tid=321293)



My /filterreports system - Mr.McGuire - 26.02.2012

This commands give you the right to Shut Off your report system and turn it back on


Код:
CMD:filterreports(playerid, params[])
{
	    if(IsPlayerConnected(playerid))
	    {
			if(PlayerInfo[playerid][pAdmin] > 3 && OverloadedReport == 0)
			{
				SendClientMessageToAll(COLOR_LIGHTRED, "* An administrator has Turned OFF The /report System.. Try To /report Later.");
				OverloadedReport = 1;
			}
			else if(PlayerInfo[playerid][pAdmin] > 3 && OverloadedReport == 1)
			{
			    SendClientMessageToAll(COLOR_LIGHTRED, "* An administrator has Turned ON The /report System.. You Can Now /report.");
			    OverloadedReport = 0;
			}
		}
		return 1;
}



Re: My /filterreports system - seanny - 26.02.2012

Clearly this has been copied from the old Public RP Script.


Re: My /filterreports system - Shabi RoxX - 26.02.2012

Quote:
Originally Posted by Mr.McGuire
Посмотреть сообщение
This commands give you the right to Shut Off your report system and turn it back on


Код:
CMD:filterreports(playerid, params[])
{
	    if(IsPlayerConnected(playerid))
	    {
			if(PlayerInfo[playerid][pAdmin] > 3 && OverloadedReport == 0)
			{
				SendClientMessageToAll(COLOR_LIGHTRED, "* An administrator has Turned OFF The /report System.. Try To /report Later.");
				OverloadedReport = 1;
			}
			else if(PlayerInfo[playerid][pAdmin] > 3 && OverloadedReport == 1)
			{
			    SendClientMessageToAll(COLOR_LIGHTRED, "* An administrator has Turned ON The /report System.. You Can Now /report.");
			    OverloadedReport = 0;
			}
		}
		return 1;
}
sOoO