Начинающий
-
Автор темы
- #1
зарание спасибо:)
да на в4 вот дс - Я кидаю снюс#1337Тебе на в4?
var DEG2RAD = function(x){
return x * 3.1415926535 / 180
}
var RAD2DEG = function(x){
return x * 180 / 3.1415926535
}
function HSVtoRGB(h, s, v) {
var r, g, b, i, f, p, q, t;
if (arguments.length === 1) {
s = h.s, v = h.v, h = h.h;
}
i = Math.floor(h * 6);
f = h * 6 - i;
p = v * (1 - s);
q = v * (1 - f * s);
t = v * (1 - (1 - f) * s);
switch (i % 6) {
case 0: r = v, g = t, b = p; break;
case 1: r = q, g = v, b = p; break;
case 2: r = p, g = v, b = t; break;
case 3: r = p, g = q, b = v; break;
case 4: r = t, g = p, b = v; break;
case 5: r = v, g = p, b = q; break;
}
return {
r: Math.round(r * 255),
g: Math.round(g * 255),
b: Math.round(b * 255)
};
}
var rainbow = 0.00
var rotationdegree = 0.000
UI.AddSliderInt(["Visuals", "World", "General"], "Rainbow Speed", 1, 500)
UI.AddSliderFloat(["Visuals", "World", "General"], "Crosshair Speed", -3.0, 3.0)
UI.AddCheckbox(["Visuals", "World", "General"], "Rainbow")
UI.AddSliderInt(["Visuals", "World", "General"], "Crosshair Size", 10, 1000)
var colorpicker = UI.AddColorPicker(["Visuals", "World", "General"], "Crosshair color")
var draw_svaston = function (x, y, size){
var frametime = Globals.Frametime()
var a = UI.GetValue( ["Visuals", "World", "General", "Crosshair Size"] )//size / 60
var gamma = Math.atan(a / a)
tickcount = Globals.Tickcount();
color = HSVtoRGB(tickcount % UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ) / UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ), 1, 1, 1, 255);
for( i = 0; i <= 4; i++ ){
var p_0 = (a * Math.sin(DEG2RAD(rotationdegree + (i * 90))))
var p_1 = (a * Math.cos(DEG2RAD(rotationdegree + (i * 90))))
var p_2 =((a / Math.cos(gamma)) * Math.sin(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma))))
var p_3 =((a / Math.cos(gamma)) * Math.cos(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma))))
Render.Line( x, y, x + p_0, y - p_1, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' );
Render.Line( x + p_0, y - p_1, x + p_2, y - p_3, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' );
}
rotationdegree = rotationdegree + UI.GetValue( ["Visuals", "World", "General", "Crosshair Speed"] )
}
var screen_size = Render.GetScreenSize();
function clantag(){
draw_svaston(screen_size[0] / 2, screen_size[1] / 2, screen_size[1] / 2)
}
Cheat.RegisterCallback("Draw", "clantag");
Convar.SetInt("crosshair", 0);
у меня почему то его нету но сама жс то работает а прицела нетуJavaScript:var DEG2RAD = function(x){ return x * 3.1415926535 / 180 } var RAD2DEG = function(x){ return x * 180 / 3.1415926535 } function HSVtoRGB(h, s, v) { var r, g, b, i, f, p, q, t; if (arguments.length === 1) { s = h.s, v = h.v, h = h.h; } i = Math.floor(h * 6); f = h * 6 - i; p = v * (1 - s); q = v * (1 - f * s); t = v * (1 - (1 - f) * s); switch (i % 6) { case 0: r = v, g = t, b = p; break; case 1: r = q, g = v, b = p; break; case 2: r = p, g = v, b = t; break; case 3: r = p, g = q, b = v; break; case 4: r = t, g = p, b = v; break; case 5: r = v, g = p, b = q; break; } return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) }; } var rainbow = 0.00 var rotationdegree = 0.000 UI.AddSliderInt(["Visuals", "World", "General"], "Rainbow Speed", 1, 500) UI.AddSliderFloat(["Visuals", "World", "General"], "Crosshair Speed", -3.0, 3.0) UI.AddCheckbox(["Visuals", "World", "General"], "Rainbow") UI.AddSliderInt(["Visuals", "World", "General"], "Crosshair Size", 10, 1000) var colorpicker = UI.AddColorPicker(["Visuals", "World", "General"], "Crosshair color") var draw_svaston = function (x, y, size){ var frametime = Globals.Frametime() var a = UI.GetValue( ["Visuals", "World", "General", "Crosshair Size"] )//size / 60 var gamma = Math.atan(a / a) tickcount = Globals.Tickcount(); color = HSVtoRGB(tickcount % UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ) / UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ), 1, 1, 1, 255); for( i = 0; i <= 4; i++ ){ var p_0 = (a * Math.sin(DEG2RAD(rotationdegree + (i * 90)))) var p_1 = (a * Math.cos(DEG2RAD(rotationdegree + (i * 90)))) var p_2 =((a / Math.cos(gamma)) * Math.sin(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma)))) var p_3 =((a / Math.cos(gamma)) * Math.cos(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma)))) Render.Line( x, y, x + p_0, y - p_1, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' ); Render.Line( x + p_0, y - p_1, x + p_2, y - p_3, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' ); } rotationdegree = rotationdegree + UI.GetValue( ["Visuals", "World", "General", "Crosshair Speed"] ) } var screen_size = Render.GetScreenSize(); function clantag(){ draw_svaston(screen_size[0] / 2, screen_size[1] / 2, screen_size[1] / 2) } Cheat.RegisterCallback("Draw", "clantag"); Convar.SetInt("crosshair", 0);
Настрой его ву меня почему то его нету но сама жс то работает а прицела нету
можно на в3 умоляюJavaScript:var DEG2RAD = function(x){ return x * 3.1415926535 / 180 } var RAD2DEG = function(x){ return x * 180 / 3.1415926535 } function HSVtoRGB(h, s, v) { var r, g, b, i, f, p, q, t; if (arguments.length === 1) { s = h.s, v = h.v, h = h.h; } i = Math.floor(h * 6); f = h * 6 - i; p = v * (1 - s); q = v * (1 - f * s); t = v * (1 - (1 - f) * s); switch (i % 6) { case 0: r = v, g = t, b = p; break; case 1: r = q, g = v, b = p; break; case 2: r = p, g = v, b = t; break; case 3: r = p, g = q, b = v; break; case 4: r = t, g = p, b = v; break; case 5: r = v, g = p, b = q; break; } return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) }; } var rainbow = 0.00 var rotationdegree = 0.000 UI.AddSliderInt(["Visuals", "World", "General"], "Rainbow Speed", 1, 500) UI.AddSliderFloat(["Visuals", "World", "General"], "Crosshair Speed", -3.0, 3.0) UI.AddCheckbox(["Visuals", "World", "General"], "Rainbow") UI.AddSliderInt(["Visuals", "World", "General"], "Crosshair Size", 10, 1000) var colorpicker = UI.AddColorPicker(["Visuals", "World", "General"], "Crosshair color") var draw_svaston = function (x, y, size){ var frametime = Globals.Frametime() var a = UI.GetValue( ["Visuals", "World", "General", "Crosshair Size"] )//size / 60 var gamma = Math.atan(a / a) tickcount = Globals.Tickcount(); color = HSVtoRGB(tickcount % UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ) / UI.GetValue( ["Visuals", "World", "General", "Rainbow Speed"] ), 1, 1, 1, 255); for( i = 0; i <= 4; i++ ){ var p_0 = (a * Math.sin(DEG2RAD(rotationdegree + (i * 90)))) var p_1 = (a * Math.cos(DEG2RAD(rotationdegree + (i * 90)))) var p_2 =((a / Math.cos(gamma)) * Math.sin(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma)))) var p_3 =((a / Math.cos(gamma)) * Math.cos(DEG2RAD(rotationdegree + (i * 90) + RAD2DEG(gamma)))) Render.Line( x, y, x + p_0, y - p_1, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' ); Render.Line( x + p_0, y - p_1, x + p_2, y - p_3, UI.GetValue( ["Visuals", "World", "General", "Rainbow"] ) ? [color.r,color.g,color.b,255] : UI.GetColor( ["Visuals", "World", "General", "Crosshair Color" ] ) + '\n' ); } rotationdegree = rotationdegree + UI.GetValue( ["Visuals", "World", "General", "Crosshair Speed"] ) } var screen_size = Render.GetScreenSize(); function clantag(){ draw_svaston(screen_size[0] / 2, screen_size[1] / 2, screen_size[1] / 2) } Cheat.RegisterCallback("Draw", "clantag"); Convar.SetInt("crosshair", 0);
тенксНастрой его в
"Visuals", "World", "General"
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz