Small question.
#2

Quote:
Originally Posted by G Spot ©
Is there a simpiler way to doing this?

pawn Код:
if(weaponid == 10 || weaponid == 11 || weaponid == 12 || weaponid == 13 || weaponid == 16 || weaponid == 17 || weaponid == 18
        || weaponid == 35 || weaponid == 36 || weaponid == 37 || weaponid == 38 || weaponid == 39 || weaponid == 40 || weaponid == 44 || weaponid == 45)
        {
            new string[128];
            format(string, sizeof(string), "**Ban: %s Has been banned for weapon hacks!", PlayerName(i));
          SendClientMessageToAll(COLOR_RED, string);
          BanEx(i, string);
          return 1;
        }
i'm mainly reffering to the weapon check.
if((weaponid >= 10 && weaponid <= 1 || (weaponid >= 35 && weaponid <= 40))

Reply


Messages In This Thread
Small question. - by DiddyBop - 16.01.2010, 21:33
Re: Small question. - by Peep - 16.01.2010, 21:49
Re: Small question. - by [HiC]TheKiller - 16.01.2010, 21:55
Re: Small question. - by DiddyBop - 16.01.2010, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)