thanks for the reply 2bit, after scratching my head for two hours i found the problem.the orginal file i had copy was incorrect or i had miss a pointer,, their example read like this.
ent_create(mdl_sphere,temp,sphere);
there was no pointer in the script for "sphere" the fix
ent_create(mdl_sphere,temp,my); or
ent_create(mdl_sphere,temp,null);

again thanks