try something like this

Code:
STRING*file_name = str_create("graphics\\npc\\EarpYellow.tga");
ent_create(file_name, nullvector, actEarp);