help 2 add some thing in anti cheat
#2

Quote:
Originally Posted by rong13
Код:
OnGameModeInit
	SetTimer("AntiMiniGun",1000,1);
Код:
forward AntiMiniGun();
public AntiMiniGun()
{
 	
    for(new i=0; i<MAX_PLAYERS; i++)
 	{
 	 	if(!IsPlayerAdmin(i)
 	 	{
 	 	}
 	 	else
 	 	{
 	 	 	if(GetPlayerWeapon(i) == 38)
 	 	 	{
	 	 	Ban(i);
		 	}
 	 	}
	}
}
this should do it
Reply


Messages In This Thread
help 2 add some thing in anti cheat - by rong13 - 19.05.2010, 21:59
Re: help 2 add some thing in anti cheat - by DaneAMattie - 19.05.2010, 22:07
Re: help 2 add some thing in anti cheat - by rong13 - 19.05.2010, 22:20

Forum Jump:


Users browsing this thread: 1 Guest(s)