my code looks like this:
Code:
#include <ancknex.h>
#include <default.c>

function main()
{
  video_mode=7;
  video_screen=1;
  wait(1);
}


Wehn I want to test this code sed returns error - video_mode, and video_screen is read only function or some thing like that. I tried to compile demo level - carlevel that comes with game studio it can ran few times that it also returned the same error. How can I fix this?


Expirienced Game Designer