Quote:
Originally Posted by vL.
I mean, where do I add it to the code?
PHP Code:
public SetModel(ent, model[])
{
// here?
if (!equal(model, "models/w_awp.mdl"))
return FMRES_IGNORED;
// I wonder if remove_entity() would be better in this case
set_pev(ent, pev(ent, pev_flags) | FL_KILLME);
return FMRES_SUPERCEDE;
}
|
Search results will tell that to you. Its like in any other plugin that uses certain maps only.
Doesn't amxx have maps configs to do this also?
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]