#1

PHP код:
public OnPlayerUpdate(playerid)
{
    if(
GetPlayerWeapon(playerid) == 38)
    {
        if(
InDM[playerid] == false && DMType[playerid] != 3)
        {
            new 
string[280];
               foreach(new 
Player)
            {
                
format(stringsizeof(string), "* %s (ID: %d) has a minigun outside the minigun game!"GetName(playerid), playerid);
                  new 
irc[280];
                
format(ircsizeof(irc), "1,3* Anti-Cheat Alert: %s (ID: %d) has a minigun outside the minigun game"GetName(playerid), playerid);
                
IRC_Say(groupIDIRC_CHANNELirc);
                
IRC_Say(groupIDIRC_aCHANNELirc);
                if(
pData[i][Admin] >= 1)
                {
                    
SendClientMessage(iCOLOR_REDstring);
                }
            }
        }
    }
    return 
1;

i tried to add anti-cheat i have got too many spam when the player have minigun
Reply


Messages In This Thread
spam - by Loinal - 02.02.2018, 13:19
Re: spam - by Mugala - 02.02.2018, 13:54
Re: spam - by jasperschellekens - 02.02.2018, 13:59
Re: spam - by Mugala - 02.02.2018, 14:20
Re: spam - by Loinal - 02.02.2018, 14:48
Re: spam - by edyun - 02.02.2018, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)