Anti Aimbot Alternative (ProAim)
Описание:
Античит на AIM (видео).
Код:
PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(hittype == BULLET_HIT_TYPE_PLAYER)
{
new Float:bPos[6];
GetPlayerLastShotVectors(playerid, bPos[0], bPos[1], bPos[2], bPos[3], bPos[4], bPos[5]);
new Float:dist = GetPlayerDistanceFromPoint(hitid, bPos[3], bPos[4], bPos[5]);
if(dist >= 1.0)
{
SendClientMessage(playerid, -1, "Anti Aimbot Alternative (ProAim)");
//Kick(playerid);
return 0;
}
}
return 1;
}
Автор: ES.^ a.k.a Johurt