-
Автор темы
- #1
JavaScript:
Kanekitime = 0
screen = Render.GetScreenSize()
UI.AddSliderInt("X Kaneki", 0, screen[0])
UI.AddSliderInt("Y Kaneki", 0, screen[1])
UI.AddSliderInt("Kaneki width", 0, 500)
UI.AddSliderInt("Kaneki height", 0, 500)
function onRender() {
if(UI.IsMenuOpen()) {
Kaneki0 =Render.AddTexture("ot/scripts/kaneki/0.png"),
Kaneki1 =Render.AddTexture("ot/scripts/kaneki/1.png"),
Kaneki2 =Render.AddTexture("ot/scripts/kaneki/2.png"),
Kaneki3 =Render.AddTexture("ot/scripts/kaneki/3.png"),
Kaneki4 =Render.AddTexture("ot/scripts/kaneki/4.png"),
Kaneki5 =Render.AddTexture("ot/scripts/kaneki/5.png"),
Kaneki6 =Render.AddTexture("ot/scripts/kaneki/6.png"),
Kaneki7 =Render.AddTexture("ot/scripts/kaneki/7.png"),
Kaneki8 =Render.AddTexture("ot/scripts/kaneki/8.png"),
Kaneki9 =Render.AddTexture("ot/scripts/kaneki/9.png"),
Kaneki10 =Render.AddTexture("ot/scripts/kaneki/10.png"),
Kaneki11 =Render.AddTexture("ot/scripts/kaneki/11.png"),
Kaneki12 =Render.AddTexture("ot/scripts/kaneki/12.png"),
Kaneki13 =Render.AddTexture("ot/scripts/kaneki/13.png"),
Kaneki14 =Render.AddTexture("ot/scripts/kaneki/14.png"),
Kaneki15 =Render.AddTexture("ot/scripts/kaneki/15.png"),
Kaneki16 =Render.AddTexture("ot/scripts/kaneki/16.png"),
Kaneki17 =Render.AddTexture("ot/scripts/kaneki/17.png"),
Kaneki18 =Render.AddTexture("ot/scripts/kaneki/18.png"),
Kaneki19 =Render.AddTexture("ot/scripts/kaneki/19.png"),
Kaneki20 =Render.AddTexture("ot/scripts/kaneki/20.png"),
Kaneki21 =Render.AddTexture("ot/scripts/kaneki/21.png"),
Kaneki22 =Render.AddTexture("ot/scripts/kaneki/22.png"),
Kaneki23 =Render.AddTexture("ot/scripts/kaneki/23.png"),
Kaneki24 =Render.AddTexture("ot/scripts/kaneki/24.png"),
Kaneki25 =Render.AddTexture("ot/scripts/kaneki/25.png"),
Kaneki26 =Render.AddTexture("ot/scripts/kaneki/26.png"),
Kaneki27 =Render.AddTexture("ot/scripts/kaneki/27.png"),
Kaneki28 =Render.AddTexture("ot/scripts/kaneki/28.png"),
Kaneki29 =Render.AddTexture("ot/scripts/kaneki/29.png"),
Kaneki30 =Render.AddTexture("ot/scripts/kaneki/30.png"),
Kaneki31 =Render.AddTexture("ot/scripts/kaneki/31.png"),
Kaneki32 =Render.AddTexture("ot/scripts/kaneki/32.png"),
Kaneki33 =Render.AddTexture("ot/scripts/kaneki/33.png"),
Kaneki34 =Render.AddTexture("ot/scripts/kaneki/34.png"),
Kaneki35 =Render.AddTexture("ot/scripts/kaneki/35.png"),
Kaneki36 =Render.AddTexture("ot/scripts/kaneki/36.png"),
Kaneki37 =Render.AddTexture("ot/scripts/kaneki/37.png"),
Kaneki38 =Render.AddTexture("ot/scripts/kaneki/38.png"),
Kaneki39 =Render.AddTexture("ot/scripts/kaneki/39.png"),
Kaneki40 =Render.AddTexture("ot/scripts/kaneki/40.png"),
Kaneki41 =Render.AddTexture("ot/scripts/kaneki/41.png"),
Kaneki42 =Render.AddTexture("ot/scripts/kaneki/42.png"),
Kaneki43 =Render.AddTexture("ot/scripts/kaneki/43.png"),
Kaneki44 =Render.AddTexture("ot/scripts/kaneki/44.png"),
Kaneki45 =Render.AddTexture("ot/scripts/kaneki/45.png"),
Kaneki46 =Render.AddTexture("ot/scripts/kaneki/46.png"),
Kaneki47 =Render.AddTexture("ot/scripts/kaneki/47.png")
if (Kanekitime > 47){
Kanekitime = 0;
}
x = UI.GetValue("Script items", "X Kaneki")
y = UI.GetValue("Script items", "Y Kaneki")
w = UI.GetValue("Script items", "Kaneki width")
h = UI.GetValue("Script items", "Kaneki height")
switch((Kanekitime)){
case 0:
Render.TexturedRect( x, y, w, h, Kaneki0);
break;
case 1:
Render.TexturedRect( x, y, w, h, Kaneki1);
break;
case 2:
Render.TexturedRect( x, y, w, h, Kaneki2);
break;
case 3:
Render.TexturedRect( x, y, w, h, Kaneki3);
break;
case 4:
Render.TexturedRect( x, y, w, h, Kaneki4);
break;
case 5:
Render.TexturedRect( x, y, w, h, Kaneki5);
break;
case 6:
Render.TexturedRect( x, y, w, h, Kaneki6);
break;
case 7:
Render.TexturedRect( x, y, w, h, Kaneki7);
break;
case 8:
Render.TexturedRect( x, y, w, h, Kaneki8);
break;
case 9:
Render.TexturedRect( x, y, w, h, Kaneki9);
break;
case 10:
Render.TexturedRect( x, y, w, h, Kaneki10);
break;
case 11:
Render.TexturedRect( x, y, w, h, Kaneki11);
break;
case 12:
Render.TexturedRect( x, y, w, h, Kaneki12);
break;
case 13:
Render.TexturedRect( x, y, w, h, Kaneki13);
break;
case 14:
Render.TexturedRect( x, y, w, h, Kaneki14);
break;
case 15:
Render.TexturedRect( x, y, w, h, Kaneki15);
break;
case 16:
Render.TexturedRect( x, y, w, h, Kaneki16);
break;
case 17:
Render.TexturedRect( x, y, w, h, Kaneki17);
break;
case 18:
Render.TexturedRect( x, y, w, h, Kaneki18);
break;
case 19:
Render.TexturedRect( x, y, w, h, Kaneki19);
break;
case 20:
Render.TexturedRect( x, y, w, h, Kaneki20);
break;
case 21:
Render.TexturedRect( x, y, w, h, Kaneki21);
break;
case 22:
Render.TexturedRect( x, y, w, h, Kaneki22);
break;
case 23:
Render.TexturedRect( x, y, w, h, Kaneki23);
break;
case 24:
Render.TexturedRect( x, y, w, h, Kaneki24);
break;
case 25:
Render.TexturedRect( x, y, w, h, Kaneki25);
break;
case 26:
Render.TexturedRect( x, y, w, h, Kaneki26);
break;
case 27:
Render.TexturedRect( x, y, w, h, Kaneki27);
break;
case 28:
Render.TexturedRect( x, y, w, h, Kaneki28);
break;
case 29:
Render.TexturedRect( x, y, w, h, Kaneki29);
break;
case 30:
Render.TexturedRect( x, y, w, h, Kaneki30);
break;
case 31:
Render.TexturedRect( x, y, w, h, Kaneki31);
break;
case 32:
Render.TexturedRect( x, y, w, h, Kaneki32);
break;
case 33:
Render.TexturedRect( x, y, w, h, Kaneki33);
break;
case 34:
Render.TexturedRect( x, y, w, h, Kaneki34);
break;
case 35:
Render.TexturedRect( x, y, w, h, Kaneki35);
break;
case 36:
Render.TexturedRect( x, y, w, h, Kaneki36);
break;
case 37:
Render.TexturedRect( x, y, w, h, Kaneki37);
break;
case 38:
Render.TexturedRect( x, y, w, h, Kaneki38);
break;
case 39:
Render.TexturedRect( x, y, w, h, Kaneki39);
break;
case 40:
Render.TexturedRect( x, y, w, h, Kaneki40);
break;
case 41:
Render.TexturedRect( x, y, w, h, Kaneki41);
break;
case 42:
Render.TexturedRect( x, y, w, h, Kaneki42);
break;
case 43:
Render.TexturedRect( x, y, w, h, Kaneki43);
break;
case 44:
Render.TexturedRect( x, y, w, h, Kaneki44);
break;
case 45:
Render.TexturedRect( x, y, w, h, Kaneki45);
break;
case 46:
Render.TexturedRect( x, y, w, h, Kaneki46);
break;
case 47:
Render.TexturedRect( x, y, w, h, Kaneki47);
break;
}
Kanekitime++
}
}
Cheat.RegisterCallback("Draw", "onRender")
Вложения
-
2 MB Просмотры: 49