душнила
-
Автор темы
- #1
JavaScript:
function onDraw() {
var c4 = Entity.GetEntitiesByClassID(128)[0];
const x = UI.GetValue("Script items", "binds x"),
y = UI.GetValue("Script items", "binds y");
const font = Render.AddFont("Calibri", 8, 625);
var c4pl = Entity.GetProp(c4, "CPlantedC4", "m_nBombSite");
Render.FilledRect(600, 600, 185, 35, [10, 10, 10, 150]);
Render.StringCustom(x + 45, y + 5, 0, "Site:" + c4pl.toString() + "", [255, 255, 255, 230], font);
}
Cheat.RegisterCallback("Draw", "onDraw")