Quote:


if (key_ctrl == 1) // wird STRG gedrückt
{
if (cam_var == 1)
{
cam_var = 2;
}
if (cam_var == 2)
{
cam_var = 0;
}
}




you don't have what happend if cam_var = 0 so you can't back to first camera

Quote:


if (cam_var == 1)
{
my.skill8=1;
surveillance_camera();
}
else
{
my.skill8=0;
}




in this case survillance_camera function will be only working if skill8 ==1;

so this one in the camera code will not working
Quote:


while (1)
{
if (my.skill8 == 1) //
{ ........


}
else
{





and my.event = cemare_event... I don't get it? Why U using this? if you'll cheng this parameter? but still event will be working?

Last edited by tompo; 06/04/07 13:35.

Never say never.