Jump to content
GIGN Forum

[plugins] Anti Cd Hack


Recommended Posts

nezinu kas tur bija shine plugina, es vnk uztaisīju 5 minūtes laiku kaut-ko līdzīgu..

#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
  register_plugin("ANTI CD HACK","0.1","-=ThQ=-");
  register_event("ResetHUD", "reset_hud", "b");
}

public reset_hud(id)
{
    new iVers[8];
    if ( (get_user_info(id, "cd_version", iVers, 8)) > 0 )
    {
        server_cmd("amx_banip 0 #%s CDHACK_DETECTED", get_user_userid(id));
    }
    return PLUGIN_CONTINUE;
}

strada tapat ka RHLG anti cd-hack. :

*. ja speletais ienak ar Cheating-Death -> autoban.

*. ja speletais ienak ar CDHack -> autoban.

nav nekādus tasks. viss vienkārši!.

P.S.

uzskatu ka topics ir vecs ja viņš ir uzrakstīts gadu atpakaļ :P, šis topics nav vecs:)

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Gudrītis. "cd_version" ir cvars. To nevar nolasīt ar get_user_info. Tākā pats par sevi tas plugins neiet. Otrkārt, ja pat ietu, tad es varētu ierakstīt konsolē "alias cd_version """, un mani neviens nenobanotu :).

Edited by shine
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share


×
×
  • Create New...