Anti weapon hack assistance
#2

didnt check all of the code but change this:
pawn Код:
printf("sweapon %d, weapon %d, sammo %d, ammo %d", Weapons[i][0], weaps[i][0], Ammo[i][s], weaps[i][1]);
to this:
pawn Код:
printf("sweapon %d, weapon %d, sammo %d, ammo %d", Weapons[i][s], weaps[i][0], Ammo[i][s], weaps[i][1]);
and also change this:
pawn Код:
GetPlayerWeaponData(i, s, weaps[i][0], weaps[i][1]); // i is playerid not slot id
to:
pawn Код:
GetPlayerWeaponData(i, s, weaps[s][0], weaps[s][1]);
Reply


Messages In This Thread
Anti weapon hack assistance - by LocMax - 12.04.2015, 08:18
Re: Anti weapon hack assistance - by R0 - 12.04.2015, 08:41
Re: Anti weapon hack assistance - by LocMax - 12.04.2015, 08:46
Re: Anti weapon hack assistance - by R0 - 12.04.2015, 08:48
Re: Anti weapon hack assistance - by LocMax - 12.04.2015, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)