Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
пожалуйста я уже не можу, не получается у меня сделать гет бомб плентед в фатале, через пропы, ничего не произходит вообще, а если через эвент там нельзя рендерить текст
пожалуйста я уже не можу, не получается у меня сделать гет бомб плентед в фатале, через пропы, ничего не произходит вообще, а если через эвент там нельзя рендерить текст
function bomb_tweeks()
local bomb_has_been_planted = false
entities.for_each(function(entity)
if entity:get_class() == 'CPlantedC4' then
bomb_has_been_planted = true
end
end)
return bomb_has_been_planted
end
function on_paint()
local planting = bomb_tweeks()
if planting then
render.text(verdana, 600, 600, 'planted', render.color(255,255,255,255))
end
end
function bomb_tweeks()
local bomb_has_been_planted = false
entities.for_each(function(entity)
if entity:get_class() == 'CPlantedC4' then
bomb_has_been_planted = true
end
end)
return bomb_has_been_planted
end
function on_paint()
local planting = bomb_tweeks()
if planting then
render.text(verdana, 600, 600, 'planted', render.color(255,255,255,255))
end
end
function bomb_tweeks()
local bomb_has_been_planted = false
entities.for_each(function(entity)
if entity:get_class() == 'CPlantedC4' then
bomb_has_been_planted = true
end
end)
return bomb_has_been_planted
end
function on_paint()
local planting = bomb_tweeks()
if planting then
render.text(verdana, 600, 600, 'planted', render.color(255,255,255,255))
end
end