Code:
register_forward ( FM_SetModel, changetoipod, 1 )
public changetoipod() {
dabomb = forward_return ( FMV_String, "EV_SZ_model" )
if (equali(dabomb,"models/w_c4.mdl") == 1 ) {
// the function to get the entity name and dispatch the new model name which i believe can be doen with entity_get_classname and entity_set_model??
return PLUGIN_CONTINUE
}
return PLUGIN_CONTINUE
}
?