first you need to put the function in the main

funtion main()
{
Kamera();
}
why you dont use this for ur camera?
camera.x = player.x - 200 * cos(player.pan); // 200 = distance

camera.y = player.y - 200 * sin(player.pan); // same value here

camera.z = player.z; // above the player

camera.pan = player.pan;

camera.tilt = 0; // look down at the player

camera.roll = 0;


asking is the best Way to get help laugh laugh laugh