30.09.2015, 14:01
Oh I found the reason that is happening, you are checking if he have the weap according to your variables, then checking if he doesn't have them, what you should check is what he has, and if he doesn't have it in his variables to kick him.
This means he has weapon id 10 with 1 ammo, but doesn't have it scriptwisely
PHP код:
if(tmp[3] != tmp[1]) { RemoveWeapon(i, tmp[3]); ACKick(i,"Hack Armas"); }
if(tmp[4] > tmp[2]) { RemoveWeapon(i, tmp[3]); ACKick(i,"Hack Armas"); }
Код:
[09:25:07] SLOT:11 WeapData:10 pWeapData:0 WeapAData:1 pWeapAData:0