Thank you very much.Could you also answer one more question, if you know? How can I change the amount of resources a mine produces daily? For example, if a gold mine produces 1000 daily, can I change it to 2000?
function NewDay()
pl = GetObjectOwner("Mine Name")
if pl ~= PLAYER_NONE then
SetPlayerResource(pl, GOLD, GetPlayerResource(pl, GOLD)+1000)
end
end
Trigger(NEW_DAY_TRIGGER)
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________