Error al colocar anti cheat de fly hack
#1

Buenas tardes, tengo un anti-fly hack, pero mi problema es que no sй donde colocarlo, el el GM de Ciudad Metropolis lo colocaba en OnPlayerUpdateTime y funcionaba perfectamente, pero en el GM de ZenonCity no sй donde colocarlo, ya que no existe dicho public.

pawn Код:
new Float:animX, Float:animY, Float:animZ;
            new anim = GetPlayerAnimationIndex(playerid);
            GetPlayerPos(playerid, animX, animY, animZ);
            if((anim >= 1538) && (anim <= 1542) && animZ > 5)
            {
            new ST[100],cheto[MAX_PLAYER_NAME];
            GetPlayerName(playerid, cheto, sizeof(cheto));
            format(ST, sizeof(ST), "Servidor: %s fue kickeado por el anticheat. Razуn: Fly", cheto);
            SendClientMessageToAll(0xFFFF00FF, ST);
            Kick(playerid);
            return 1;
}
El anticheat en sн, es muy simple, sуlo detecta si una persona tiene la animaciуn de nado y estб a una altura bastante alta.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)