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

set_es » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 5
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 16-06-2012, 15:49 : 4303
    fakemeta EntityState Constants , get_es , set_es . , FM_AddToFullPack, .

    fakemeta.inc:
    // These functions are used with the entity_state data structure (FM_AddToFullPack)
    // Get: 0 extra params - Return integer; 1 extra param - by ref float or vector or array
    // Set: Use anything
    // Use 0 for es_handle to specify the global entity_state handle
    native set_es(es_handle, EntityState:member, {Float,_}:...);


    :
    set_es(es_handle, EntityState:member, {Float,_}:...)

    • es_handle - ( FM_AddToFullPack)
    • EntityState:member - EntityState
    • {Float,_}:... - - .


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>

    #define PLUGIN "[fakemeta.const] set_es"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        register_forward( FM_AddToFullPack,"FwdFullPack", 1 )

    }
    public FwdFullPack( es, e, ent, host, flags, player, pSet ) {
        
        set_es( es, ES_RenderAmt, 85 )


    }


    :
    .

    , FM_AddToFullPack, .
    set_es ES_RenderAmt, .

    , .
    , .
    .
    set_es