I'm trying to set the dodgeball model when i'm throwing a grenade, but the thing is that i can see the model while having the dodgeball, but from when on i throw it, it just lays on the ground and does nothing being a HE grenade model
PHP Code:
public think_grenade(ent)
{
new model[32];
entity_get_string(ent, EV_SZ_model, model, 31)
if(equali(model,"models/w_dodgeball.mdl"))
{
return PLUGIN_CONTINUE
}
// stop grenade from blowing up
return PLUGIN_HANDLED
}
__________________