heres a code i use to play a movie on a model should be pretty much the same.
Code:
var tv_handle = 0;
function new_tv()
{
if(event_type == event_scan && media_playing(tv_handle)== 0)
{
media_play("01.avi",bmap_for_entity(my,2),100);
tv_handle = media_handle;
}
}
action activate_TV// action to attach to tv
{
//TV = me;
my.enable_scan = on; // sensitive to scans
my.event = new_tv;// run tv_on_off if im scanned
while(1)
{
if(media_playing(tv_handle) != 0)
{
my.skin = 2;
}
else
{
my.skin = 1;
}
wait(1);
}
}
Hope it helps/