The manual in GameStudio has many flaws and LOTS of things aren't described the way they should be, most times i have to google something that the manual should explain In my experienci, whenever that error ocurred in my scripts i just added a wait(1); to wait 1 frame before the line that was causing this error. So, if it has something to do with the video it may have something to do with DirectX, like Superku said try googling "lite-c str_width" and search around some websites
Re: str_width - video not available??
[Re: joao13pt]
#422347 05/07/1319:5105/07/1319:51
Lite-C (and other engines) use DirectX to check how wide a text is. But for this you need a DirectX device so just wait until total_frames is higher than 0 before calling wait(1);