I wanna change the model of the grenade when its thrown. I tried this but doesn't work
PHP Code:
public fw_SetModel(entity, const model[])
{
static Float:dmgtime
pev(entity, pev_dmgtime, dmgtime)
if (dmgtime == 0.0)
return;
if (equal(model[7], "w_he", 4))
engfunc(EngFunc_SetModel, entity, model_waura_shield)
}