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

drop_to_floor » AmxModX
| |
 RSS
  • OnLine

    : 5
    : 3
    : -
    : crawl Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 23-10-2011, 00:44 : 3459
    "", , , /: ? ! ! . , , drop_to_floor, . ( / )

    engine.inc:
    /* Drops an entity to the floor (work?) */
    native drop_to_floor(entity);

    : ? - .

    :
    drop_to_floor ( entity )

    • entity - id


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <engine>

    #define PLUGIN "[engine.inc] entity_set_float"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    new g_Model[] = {"models/chick.mdl"}

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_clcmd("say /chick","add_chicken")
    }
    public plugin_precache(){
        precache_model(g_Model)
    }
    public add_chicken(id){
        
        new Ent = create_entity("info_target")
        
        if(is_valid_ent(Ent)){
            
            entity_set_model(Ent, g_Model)
            entity_set_size(Ent,Float:{-6.0, -10.0, 0.0},Float:{6.0, 10.0, 36.0})
            new Float:f_Origin[3]
            entity_get_vector(id, EV_VEC_origin, f_Origin)    
            f_Origin[0] += 50.0
            entity_set_origin(Ent, f_Origin)        
            entity_set_int(Ent,EV_INT_solid,SOLID_BBOX)
            
            drop_to_floor(Ent)
        }
    }


    :
    , .
    , .
    , .
    , .
    , .
    .
    drop_to_floor