SAPE ERROR: Не могу подключиться к серверу: dispenser-01.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

SAPE ERROR: Не могу подключиться к серверу: dispenser-02.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

Ham_RemovePlayerItem . » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 4
    : -
    : crawl Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 8-01-2012, 20:36 : 4663

    Ham_RemovePlayerItem .

    Ham_RemovePlayerItem , . .

    ham_const.inc:
        /**
         * Description:        Removes an item to the player's inventory.
         * Forward params:    function(this, idother);
         * Return type:        Integer.
         * Execute params:    ExecuteHam(Ham_RemovePlayerItem, this, idother);
         */
        Ham_RemovePlayerItem,


    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>

    #define PLUGIN "[hamsandwich] Ham_RemovePlayerItem"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {
        
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        //
        RegisterHam( Ham_RemovePlayerItem , "player" , "f_HamRemovePlayerItem")
        
    }
    //
    public f_HamRemovePlayerItem(id,iditem){
        
        //
        //
        client_print(0,print_chat,"DROP item id:%d",iditem)
        
    }


    :
    2 :
    1. id
    2. id
    , . , . .

    , , . , :
    ExecuteHamB(Ham_RemovePlayerItem,id,idItem)

    , .
    , ().
    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>

    #define PLUGIN "[hamsandwich] Ham_RemovePlayerItem"
    #define VERSION "1.0"
    #define AUTHOR "Admin"


    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        register_clcmd("say /delpistol","f_delusp")
    }

    public f_delusp(id){
        
        new idItem = 91

        ExecuteHamB(Ham_RemovePlayerItem,id,idItem)
        
    }

    , , 91 id . ( )
    , .
    .
    Ham_RemovePlayerItem .
    FellomoN

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    ?
    Admin

    30.07.2011
    ICQ: 980500
    : 507
    : 333
    : -  58  +

    :)
    #define HAM_IGNORED        1   &n
    bsp;/**< Calls target function, returns normal value */
    #define HAM_HANDLED        2   &n
    bsp;/**< Tells the module you did something, still calls target function and returns normal value */
    #define HAM_OVERRIDE    3    /**< Still calls the target function, but returns whatever is set with SetHamReturn*() */
    #define HAM_SUPERCEDE    4    /**< Block the target call, and use your return value (if applicable) (Set with SetHamReturn*()) */

    :
    Block the target call

    , , !
    RegisterHam , Post .
    .
    0, , .
    --------------------
    FellomoN

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    Admin, . ,
    Admin

    30.07.2011
    ICQ: 980500
    : 507
    : 333
    : -  58  +

    ..
    --------------------
    Gagaga102

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    id !!
    Radius

    7.05.2013
    ICQ: 357188115
    : 1
    : 57
    : -  4  +

    . idItem - entity. , entity . . .

    , , .