Jump to content

Ajutor fratilor!


Maniacu

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.