hi..
how to create an object or entity in front of the player
regardless of the player facing north, south, east or west.

i am able to create but only static location
eg.
Code:
tmpLoc.x = my.x;
        tmpLoc.y = my.y + 50;
	tmpLoc.z = my.z + 50;

        tmpName = ent_createlocal(_str("cube.mdl"),vector(tmpLoc.x,tmpLoc.y,tmpLoc.z),NULL);



those were create only in one location with a distance of 50
what i want is when im facing right cube should be in front of me the same with left and so on..:)


please help..

thanks laugh