Jump to content

Mahmoud

Moderator
  • Posts

    583
  • Joined

  • Last visited

  • Days Won

    56

Posts posted by Mahmoud

  1. This original code

    Quote

    #include <amxmodx>
    #include <fakemeta>

    #define PLUGIN "ANTI Change Name"
    #define VERSION "0.1beta"
    #define AUTHOR "F.E.A.R.&Many"


    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        register_forward(FM_ClientUserInfoChanged, "ClientUserInfoChanged") 
    }

    public message()
    {
        new arg[32]
        get_msg_arg_string(2, arg, 31)
        if(containi(arg,"name")!=-1)
        {
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    }
    public ClientUserInfoChanged(id) 

        static const name[] = "name" 
        static szOldName[32], szNewName[32] 
        pev(id, pev_netname, szOldName, charsmax(szOldName)) 
        if( szOldName[0] ) 
        { 
            get_user_info(id, name, szNewName, charsmax(szNewName)) 
            if( !equal(szOldName, szNewName) ) 
            { 
            set_user_info(id, name, szOldName) 
            client_print(id , print_chat , "[AMXX] Nu este permisa schimbarea numelui pe server!")
            return PLUGIN_HANDLED;
            } 
        } 
        return FMRES_IGNORED 
    }

     

  2.  Toti adminii serverului si vizitatorii acestui topic sunt rugati sa voteze serverul zilnic!

    All server admins and visitors to this topic are invited to vote for the server daily!

     

    ZM.RANGFORT.RO || ZM PLAGUE 6.3

     

    Mai jos aveti site-urile postate prin care puteti sa ne da-ti un vot!

    Below are the sites you posted to give us a vote!

     

    Csservers Link vot!

    gamestrackers Link vot!

    topg.org Link vot!

     

    Fiecare sa precizeze intr-un reply aici data si ora votului!

     Each to state in a reply here the date and time of the vote

    • Like 1
×
×
  • Create New...