Here's a quick one:
Code:
// Put it in the player's action:
while(1)
{
	player.x = camera.x - 50; // Edit this to fit your code
	player.y = camera.y
	player.z = camera.z -  25 // Edit this to fit your code
	player.pan = camera.pan;
	wait(1);
}