#include <fakemeta> register_forward(FM_SetModel, "fw_SetModel") public fw_SetModel(entity, const model[]) { if (!pev_valid(entity)) return FMRES_IGNORED if (strlen(model) < 8) return FMRES_IGNORED; new ent_classname[32] pev(entity, pev_classname, ent_classname, charsmax(ent_classname)) if (equal(ent_classname, "weaponbox")) { set_pev(entity, pev_nextthink, get_gametime() + 100.0) return FMRES_IGNORED } return FMRES_IGNORED }
下面是引用 HiNess 于 2012-01-09 00:34 发表的 : [code] #include <fakemeta> register_forward(FM_SetModel, "fw_SetModel") public fw_SetModel(entity, const model[]) { .......
下面是引用 lyw8614505 于 2012-02-23 21:31 发表的 : 请教一下问题,为什么您的源码我不能围成amxx呢
下面是引用 HiNess 于 2012-02-23 22:36 发表的 : 因为不是完整的- -