Anti-airbrk
#1

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.
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)