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

message_begin . » AmxModX
| |
 RSS
  • OnLine

    : 8
    : 4
    : -
    : crawl Bot, Google Bot, robot Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 29-02-2012, 18:04 : 11525

    message_begin .

    , , message_begin , . , , , , .

    messages.inc:
    /* These functinos are used to generate client messages.
    * You may generate menu, smoke, shockwaves, thunderlights,
    * intermission and many many others messages.
    * See HL SDK for more examples. */
    native message_begin(dest, msg_type, const origin[3] = {0,0,0}, player = 0);


    :
    message_begin(dest, msg_type, const origin[3] = {0,0,0}, player = 0)

    • dest -
      //Destination types for message_begin()
      #define MSG_BROADCAST        0    //
      #define MSG_ONE            1    //
      #define MSG_ALL            2    //
      #define MSG_INIT            3    //Write to the init string
      #define MSG_PVS            4    //
      #define MSG_PAS            5    //
      #define MSG_PVS_R        6    // .
      #define MSG_PAS_R        7    // .
      #define MSG_ONE_UNRELIABLE    8    // ,
      #define MSG_SPEC        9    // HLTV proxy

    • msg_type - .
      //Message types for message_begin()
      #define SVC_TEMPENTITY        23
      #define SVC_INTERMISSION    30
      #define SVC_CDTRACK        32
      #define SVC_WEAPONANIM        35
      #define SVC_ROOMTYPE        37
      #define SVC_ADDANGLE        38
      #define SVC_NEWUSERMSG        39
      #define SVC_HLTV        50

    • const origin[3] = {0,0,0} - MSG_PVS, MSG_PAS, MSG_PVS_R, MSG_PAS_R
    • player = 0 - id
    1 0 .

    message_begin:
    • write_byte
    • write_char
    • write_short
    • write_long
    • write_entity
    • write_angle
    • write_coord
    • write_string


    :
    , message_begin message_end. .

    :
    Native

    :
    , SVC_TEMPENTITY,TE_BLOODSTREAM , :
    message_const.inc, TE_* , SVC_* HLSDK
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[messagemode.inc] message_begin"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    //
    new sprite
    new arg[1]

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        //
        register_clcmd("say /sprite","startsprite")
        register_clcmd("say /blood","startblood")
        
    }
    //
    public plugin_precache(){
        
        sprite = precache_model("sprites/black_smoke1.spr")
        
    }
    //
    public startsprite(id){
        
        arg[0] = id
        set_task(1.0, "my_first_sprite", 3, arg, 1, "b")
        
    }
    //
    public my_first_sprite(arg[0]){
        
        //
        new origin[3]
        get_user_origin(arg[0],origin,0)
        origin[1] += 100
        
        //
        message_begin(MSG_ONE,SVC_TEMPENTITY,origin,arg[0])
        write_byte(TE_SPRITE)// ,
        write_coord(origin[0])// -
        write_coord(origin[1])// -
        write_coord(origin[2])//z -
        write_short(sprite)// id
        write_byte(5) //
        write_byte(100)//
        message_end()
        
    }
    //
    public startblood(id){
        
        arg[0] = id
        set_task(1.0, "blood", 3, arg, 1, "b")
        
    }
    //
    public blood(arg[]){
        
        //
        new origin[3]
        get_user_origin(arg[0],origin,0)
        origin[0] += 100

        // ,
        message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
        write_byte(TE_BLOODSTREAM)// ""
        write_coord(origin[0])// -
        write_coord(origin[1])// -
        write_coord(origin[2]+10)//z -
        write_coord(random_num(-100,100))//
        write_coord(random_num(-100,100))//
        write_coord(random_num(-10,10))// z
        write_byte(70)//
        write_byte(random_num(50,100))//
        message_end()
        
    }


    :
    , .
    , .
    message_cons.inc
    , .
    .
    message_begin .
    alics1996

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


    #define TE_SPRITE 17
    TpaBka

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

    alics1996, ?
    HENRI(_)LLOYD

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

    ?
    write_byte(70)//
    write_byte(random_num(50,100))//
    write_byte(5) //
    write_byte(100)//

    :
    write_coord(origin[0])// -
    write_coord(origin[1])// -
    write_coord(origin[2])//z -

    write_coord(origin[0])// -
    write_coord(origin[1])// -
    write_coord(origin[2]+10)//z -
    write_coord(random_num(-100,100))//
    write_coord(random_num(-100,100))//
    write_coord(random_num(-10,10))// z

    :
    , ?
    ( write_byte(70)//
    write_byte(random_num(50,100))//)
    Admin

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

    HENRI(_)LLOYD, , !
    --------------------
    Skrillex

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

    ,

    , , .