oh ... it was : ent_createlayer(STRING* filename, var flags2, var layer) : ENTITY*