if mapmanager.isMap(resource) then
outputDebugString('Going to represent map ' .. getResourceName(resource),0,180,180,255)
-- if it's a map, represent it
local startedResourceRoot = getResourceRootElement(resource)
local startedResourceMaps = getElementChildren(startedResourceRoot)
local gamemodes = mapmanager.getGamemodesCompatibleWithMap(resource)
for i,gamemode in ipairs(gamemodes) do
if edf[gamemode] then
for k, map in ipairs(startedResourceMaps) do
local mapElements = getElementChildren(map)
for k, element in ipairs(mapElements) do
edfRepresentElement(element, gamemode)
end
end
end
[ Dodano: 2021-01-28, 13:27 ]
wszystko jest ok model jest zepsuty
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach