self.next_restrictors_update_time = time + 200
--Time display for in game mini map
show_time()
endfunction restore_weapon()
weapon_hide = false
end
--Time display for in game mini map
function show_time()
local hud = get_hud()
local cs = hud:GetCustomStatic("hud_show_time")
if cs == nil then
hud:AddCustomStatic("hud_show_time", true)
cs = hud:GetCustomStatic("hud_show_time")
end
local time_h = level.get_time_hours()
local time_m = level.get_time_minutes()
local msg
if time_m >= 10 then
msg = string.format(" %02d:%02d\n", time_h, time_m)
else
msg = string.format(" %02d:%02d\n", time_h, time_m)
end
if cs ~= nil then
cs:wnd():SetText(msg)
end
end <hud_show_time x="90" y="204" width="900" height="100" complex_mode="1">
<text font="letterica18" r="255" g="255" b="255" a="255" align="l"/>
</hud_show_time>FATAL ERROR
[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...cień czarnobyla pl\gamedata\scripts\mil_tasks.script:69: attempt to index field 'actor' (a nil value)
stack trace:










scigacz1975.



















Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 0 gości