Jump to content

Recommended Posts

Posted

Salut, am gasit pe net un anti teleport destul de bun, si am intampinat o problema:

Pornesc fly-ul, primesc kick si dupa cand reintru fara sa ma misc fara nimic imi da iara kick

Asta e script-ul:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

public OnPlayerTeleport(playerid, Float:distance)
{
    new string[128];

    if(PlayerInfo[playerid][pAdmin] < 1) {
        format(string, sizeof(string),  "AdmCmd: %s was kicked by AdmBot, reason: Possible Cheating (teleport-hack, airbreak)",GetNameEx(playerid));
        SCMTA(COLOR_LIGHTRED, string);
        SCM(playerid, COLOR_WHITE, "Ai primit kick deoarece esti suspect de cheats (teleport-hack, speed-hack, airbreak etc.)\nDaca consideri ca AdmBot-ul a gresit poti face un topic pe [/forum]\nin <Raportare bug-uri>.");
        return KickEx(playerid, "Teleport Hack");
    }
    return 1;
}

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Daca m-ati ajuta ar insemna foarte mult pentru mine...
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.