PHP Code:
if(equali(model,"models/backpack.mdl"))
{
client_print(0 , 3 ,"DEBUG : activated MODEL BACKPACK FOUND") // THIS IS NOT CALLED
engfunc( EngFunc_SetModel, ent , invis_c4 );
return FMRES_SUPERCEDE;
}
change models/backpack.mdl to models/w_backpack.mdl
also c4 model will be set to backpack if it is dropped.
Anyway, try to check if the entity is valid
__________________