Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

spam

$
0
0
PHP Code:

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

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>