14.02.2018, 17:02
(
Последний раз редактировалось sniper-termit; 08.03.2018 в 10:49.
)
this script will disable GetPlayerTargetPlayer on everyone with weapon in hands
80% aimbots work on target, with my script you can fix alot of aimbots on your server.
if you need some anti-cheats, just pm me.
80% aimbots work on target, with my script you can fix alot of aimbots on your server.
Код:
IPacket:PLAYER_SYNC(playerid, BitStream:bs) { if(GetPlayerWeapon(playerid) >= 22 && !IsPlayerInAnyVehicle(playerid) && GetPlayerWeapon(playerid) != 34) { //with ghostmode you can't hit player via weaponid 34 //there must be a check if player crouch return false new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); if(onFootData[PR_specialAction] != 3) { onFootData[PR_specialAction] = 3; BS_SetWriteOffset(bs, 8); BS_WriteOnFootSync(bs, onFootData); } } return true; }