22.10.2011, 01:12
pawn Код:
stock CheckWeaponsCheat(playerid)
{
for(new slot = 0; slot < SLOTS_WEAPON; slot++)
{
new
weapon,
ammo
;
GetPlayerWeaponData(playerid, slot, weapon, ammo);
if(ammo > 0)
{
new is = WeaponsSlot[weapon]
if(weapon != PlayerInfo[playerid][pWeapon][is]) return 1;
}
}
return 0;
}