Hi there,
Did you define an entity pointer?

ENTITY* player_ship;

Also try to change this in your code:

player_ship = ent_create("modelname.mdl", temp, move_bullet1);


cheers