for _, pObjectData in ipairs( getElementsByType 'object', mapmanager:getRunningGamemodeMap() ) do
local fX, fY, fZ
fX = tonumber( getElementData( pObjectData, 'posX' ) )
fY = tonumber( getElementData( pObjectData, 'posY' ) )
fZ = tonumber( getElementData( pObjectData, 'posZ' ) )
outputChatBox( 'x = ' .. tostring( fX ) .. ', y = ' .. tostring( fY ) .. ', z = ' .. tostring( fZ ) )
end
Your mapmanager resource should running.