31.10.2015, 23:21
Buenas, estaba haciendo un anti-cheat pero no sй bien como hacer que funcione bien el sistema anti-airbrk.
їPor quй me detecta como hack al conectarme? Desde ya muchas gracias.
Код:
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]); } }