Block Name
Results 1 to 2 of 2

Thread: Block Name

  1. #1
    Junior Member Array
    Join Date
    May 2018
    Karma
    0

    Default Block Name

    imam problem sa serverom lik udje na server i menja svima nickove taj lik nije nikad bio admin e sada sam nasao ovaj .sma pa me zanima jel dobar?

    Code:
    #include <amxmodx>
    #include <amxmisc>
    
    public plugin_init() {
        register_plugin("Block name change","1.0","grankee")
        register_message(get_user_msgid("SayText"), "message")
    }
    public message()
    {
        new arg[32]
        get_msg_arg_string(2, arg, 31)
        if(containi(arg,"name")!=-1)
        {
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    }
    public client_infochanged(id)
    {
        new newname[32],oldname[32]
        get_user_info(id, "name", newname,31)
        get_user_name(id,oldname,31)
        if(!is_user_connected(id) || is_user_bot(id)) return PLUGIN_CONTINUE
        if(!equali(newname, oldname))
        {
            set_user_info(id,"name",oldname)
            client_print(id , print_chat , "[AMXX] Prohibition of nick change!")
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    }
    usput isto tako tog lika ne vidim uopste kada je na server znaci nevidljivi nick pa jel ima kakav block za nevidljiv nick?

  2. #2
    Senior Member Array
    Join Date
    Aug 2013
    Location
    Forbidden Forest
    Karma
    7

    Default

    Ne moze on da menja nikome nick ako nema pristup pluginu koji moze to da uradi. Moze svoj nick da stavi isto kao druge nick-ove na serveru sa nekom tackom na kraju ili slicno. Nije moguce da ga ne vidis. Taj plugin blokira bilo koju promenu nick-a.
    Pomoc oko plugina, TS3-a, discord-a mozete dobiti samo u vidu objasnjenja.
    P.S. Nemojte smarati/hejtovati obzirom da to niko ne voli a ja licno cu samo da vas kuliram.
    P.P.S. Nemojte pitati stvari na PM vec otvori temu.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •