Latest minigun type weapon exploit
#5

When I was administering a server a while ago(maybe a few months?) I noticed a player shooting a deagle towards the ground, sending mini-gun type bullets all over. Can't say this is a new exploit.

Maybe something like this could prevent it?(assuming the coordinates are still correct)
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hitid, hittype, fX, fY, fZ)
{
    if(hittype == BULLET_HIT_TYPE_PLAYER)
    {
         if(IsPlayerConnected(hitid))
         {
              new Float: pos[3];
              GetPlayerPos(hitid, pos[0], pos[1], pos[2]);
              if(IsPlayerInRangeOfPoint(playerid, 15.0, pos[0], pos[1], pos[2]) && weaponid != 34)
              {
                    return true;
              }
              else if(weaponid != 34)
              {
                     return 0;
              }
      }
      return true;
}
Assuming the hack still sends bullets towards the ground and not in range of the player(this goes with the hack I experienced before, matching your description).
Reply


Messages In This Thread
Latest minigun type weapon exploit - by Kar - 19.11.2014, 14:35
Re: Latest minigun type weapon exploit - by GreenSt4lker - 19.11.2014, 15:03
Re: Latest minigun type weapon exploit - by RedFusion - 19.11.2014, 16:20
Re: Latest minigun type weapon exploit - by Mauzen - 19.11.2014, 19:10
Re: Latest minigun type weapon exploit - by Abagail - 19.11.2014, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)