there's nothing really wrong with that line, can you post everything you have,

also try just creating you character without any actions see if it's definately inside main_player as it's doesn't appear wrong other than needing a bit of optimising.
Code:
ent_create("character.mdl", vector(25, 55, 45), NULL):