SHARE
TWEET

Untitled

BIOSFERA Nov 8th, 2017 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function drawMenuone1()
  2.     if n == 0 then
  3.       n=1
  4.     end
  5.     term.clear()
  6.     drawBox(1,1,maxW,maxH,colors.general)
  7.    
  8.     drawBox(27,24,15,3,colors.general,'Закрить',3)
  9.     drawBox(47,24,15,3,colors.general,'Удалить все',1)  
  10.    
  11.     drawBox(35,17,15,3,colors.red,'Удалить',4)
  12.     drawBox(51,17,10,3,colors.white,'----->',1)
  13.     drawBox(24,17,10,3,colors.white,'<-----',1)
  14.    
  15.    
  16.     commen={}
  17.     drawBox(2,13,maxW-3,3,colors.gray)
  18.     conf_R()
  19.     local i = 0
  20.    
  21.     for key, val in pairs(positions) do
  22.       i=i+1
  23.       commen[i]=key
  24.     end
  25.     if i > 0 then
  26.       setText(33,21,"Всего отзывов:"..i,colors.text)
  27.     else
  28.       setText(33,21,"Отзывов нету!",colors.text)
  29.     end
  30.     if #commen>0 then
  31.       drawBox((90-u.len(commen[n]))/2-3,10,u.len(commen[n])+2,3,colors.text,commen[n],1)
  32.       printFormatText(3,14,84,positions[commen[n]],colors.white)
  33.     end
  34.     if i > 0 then
  35.       setText(33,20,"Отзыв N:"..n,colors.text)
  36.     end
  37.    
  38.   end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top