Quote:
Originally Posted by xPaw
Well connor he unregisters forward at plugin_init
|
cuz its unnecesarry code, with engine its one line per per ent or a 2 line loop.
anyway, "
static s_szClassName
[32] -> newszClassName
[32]". you should not use a static there cuz it will still exist after FM_Spawn is run.
edit: you were faster... fakemeta engfunc( EngFunc_RemoveEntity, ent );
i guess youll have to do this in FM_Spawn or FM_KeyValue, at least spawns which are created after are not registered to the cs engine (changing an existing spawn, for example a ter spawn to ct spawn works!). maybe you can even use FMRES_SUPERCEDE.
__________________