Anti-airbrk - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Anti-airbrk (
/showthread.php?tid=593011)
Anti-airbrk -
Ghost112397 - 31.10.2015
Buenas, estaba haciendo un anti-cheat pero no sй bien como hacer que funcione bien el sistema anti-airbrk.
Код:
if(HaSpawneado[i])
{
GetPlayerPos(i,NewPos[i][0],NewPos[i][1],NewPos[i][2]);
if(NewPos[i][0] > OldPos[i][0]+5.0 || NewPos[i][0] < OldPos[i][0]-5.0 || NewPos[i][1] > OldPos[i][1]+5.0 || NewPos[i][1] < OldPos[i][1]-5.0)
{
format(asd, sizeof(asd), "{00FFFC}[Servidor] {FF0000}%s {FFFFFF}fue expulsado por el anti-cheat. Razуn: {FF0000}Airbrk.",NombreJugador(i));
SendClientMessageToAll(-1,asd);
Kick(i);
}
else
{
GetPlayerPos(i,OldPos[i][0],OldPos[i][1],OldPos[i][2]);
}
}
їPor quй me detecta como hack al conectarme? Desde ya muchas gracias.
Respuesta: Anti-airbrk -
Swedky - 31.10.2015
Para hacer un anti-cheat debes saber 2 cosas:
- Cуmo funciona SA-MP.
- Cуmo funciona el Cheat que quieres detectar.
Prueba a mirar algunos anti cheats que hay en la secciуn inglйs.