New Function, would it work?
#2

It won't work, at least I think so.

And you also had an extra parameter on GetPlayerWeapon.

pawn Код:
public AntiWeapon(playerid)
{
    for(new i = 1; i < 46; i++)
    {
        if(GetPlayerWeapon(playerid) == i)
       {
            Cheat(playerid, "Weapon Hack");
       }
    }
}
Should work.
Reply


Messages In This Thread
New Function, would it work? - by Ash. - 21.09.2010, 16:53
Re: New Function, would it work? - by [XST]O_x - 21.09.2010, 16:57
Re: New Function, would it work? - by Sergei - 21.09.2010, 16:58
Re: New Function, would it work? - by Ash. - 21.09.2010, 17:01
Re: New Function, would it work? - by Mauzen - 21.09.2010, 17:02
Re: New Function, would it work? - by [XST]O_x - 21.09.2010, 17:02
Re: New Function, would it work? - by Ash. - 21.09.2010, 17:09
Re: New Function, would it work? - by Slice - 21.09.2010, 17:12
Re: New Function, would it work? - by Ash. - 21.09.2010, 17:14
Re: New Function, would it work? - by Slice - 21.09.2010, 17:18

Forum Jump:


Users browsing this thread: 2 Guest(s)