引用 | 編輯
fungfungpk
2013-08-20 01:42 |
樓主
▼ |
||
x0
拜託各位大大!x0
|
引用 | 編輯
andyt0621
2013-08-20 10:07 |
1樓
▲ |
hook FM_SetModel
public fw_SetModel(entity, const model[]) { if (!pev_valid(entity)) 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() + 0.1) return FMRES_IGNORED } return FMRES_IGNORED } x0 |