Ok, now the code is nearly perfect for me. Just one last thing, is there an easy way to make the camera swingen left an right (trembling) when the player is aiming?
function camera_swing_startup() { while (1) { if (the player is aiming) // put your own stuff here { camera.x += 1 - random(2); camera.y += 1 - random(2); camera.z += 1 - random(2); } wait (1); } }