#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    register_plugin("go","go","go")
  
    new Ent = engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"))
    set_pev(Ent,pev_classname,"func_chicken")

    new Float:g_Origin[3]
    g_Origin[0] = -38.0
    g_Origin[1] = 2031.0
    g_Origin[2] = -74.0
    set_pev(Ent, pev_origin, g_Origin)

    set_pev(Ent,pev_model,"models/chick.mdl")
    set_pev(Ent,pev_solid,1)
}

public plugin_precache()
    precache_model("models/chick.mdl")