I found..
Should it run?
PHP Code:
RegisterHam(Ham_Think,"grenade","ham_grenade_think",0);
Can someone translate each of the lines of the code? :
PHP Code:
// grenade is ticking away
public ham_grenade_think(ent)
{
// not a frostnade
if(!pev(ent,pev_bInDuck)) return FMRES_IGNORED;
new Float:dmgtime;
pev(ent,pev_dmgtime,dmgtime);
if(dmgtime > get_gametime()) return FMRES_IGNORED;
// and boom goes the dynamite
frostnade_explode(ent);
return FMRES_SUPERCEDE;
}
And into my code must I include this:
PHP Code:
fw_setmodel(ent,model[])
?