loadresource("data\\19\\2\\0002.png","ventil_turma_2",2);
loadresource("data\\19\\2\\0003.png","ventil_turma_3",3);
loadresource("data\\19\\2\\0004.jpg","ventil_turma_4",4);


loadresource("data\\inventary\\m2.png","m2",3);

AddObjForCur()
addstaticobjecttogame(3,"ventil_turma_2",261,43 ,""); --рамка
CloseBtnX,CloseBtnY=Coords(3)
SetFlagsForSatButtons()

CloseWidth=34
CloseHeight=34
CreateCloseBtn(CloseBtnX,CloseBtnY);



NewObj("meddwa","m2",2000,2000,"325"); --медаль
NewObj("meddaw","ventil_turma_3",452,313,"325"); --медаль
Set_Anim_Cur(obj.meddaw.id,4);
addstaticobjecttogame(5,"ventil_turma_4",266,49 ,"",0,0,612,473); --бг

  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;

WaitRender();