i tried to use bullet.pan = guard.pan; but when i press click
it shuts down the program......
ähm, i think you didnt define the bullet entity, thats why it shuts down.
if you wanna try this,
ENTITY* bullet;
and in fire bullets
bullet = ent_create........
then u should be able to say bullet.Pan = guard.pan
but u did it right with the move bullet funktion,
my.pan is in this case correct.