local objects = 
{
	-- Grif
createObject(14846,296.7999878,95.5999985,1008.5999756,0.0000000,0.0000000,0.0000000, 1), --object(int_ppol, 1), (1, 1),
createObject(1497,281.6000061,89.4000015,1006.2000122,0.0000000,0.0000000,90.0000000, 1), --object(gen_doorext02, 1), (1, 1),
createObject(1497,281.6000061,92.4000015,1006.2000122,0.0000000,0.0000000,270.0000000, 1), --object(gen_doorext02, 1), (2, 1),
createObject(11631,297.2999878,110.5999985,1008.7999878,0.0000000,0.0000000,0.0000000, 1), --object(ranch_desk, 1), (1, 1),
createObject(2612,293.2999878,111.3000031,1009.2999878,0.0000000,0.0000000,0.0000000, 1), --object(police_nb2, 1), (1, 1),
createObject(3077,300.3999939,109.5000000,1007.5999756,0.0000000,0.0000000,114.9999695, 1), --object(nf_blackboard, 1), (1, 1),
createObject(2517,289.7999878,75.8000031,1005.7999878,0.0000000,0.0000000,0.0000000, 1), --object(cj_shower1, 1), (1, 1),
createObject(2525,291.2000122,76.9000015,1005.7999878,0.0000000,0.0000000,0.0000000, 1), --object(cj_toilet4, 1), (1, 1),
createObject(2523,291.5000000,73.4000015,1005.7999878,0.0000000,0.0000000,180.0000000, 1), --object(cj_b_sink3, 1), (1, 1),
createObject(1703,287.1000061,94.8000031,1006.2000122,0.0000000,0.0000000,0.0000000, 1), --object(kb_couch02, 1), (1, 1),
createObject(1703,282.3999939,94.5999985,1006.2000122,0.0000000,0.0000000,0.0000000, 1), --object(kb_couch02, 1), (2, 1),
createObject(1703,291.1000061,95.0999985,1006.2000122,0.0000000,0.0000000,270.0000000, 1), --object(kb_couch02, 1), (3, 1),
createObject(2165,287.0000000,86.0999985,1006.2000122,0.0000000,0.0000000,0.0000000, 1), --object(med_office_desk_1, 1), (1, 1),
createObject(1671,287.6000061,85.1999969,1006.5999756,0.0000000,0.0000000,180.0000000, 1), --object(swivelchair_a, 1), (1, 1),
createObject(1776,291.6000061,88.5000000,1007.2999878,0.0000000,0.0000000,270.0000000, 1), --object(cj_candyvendor, 1), (1, 1),
createObject(1209,291.5000000,89.6999969,1006.2000122,0.0000000,0.0000000,270.0000000, 1), --object(vendmach, 1), (1, 1),
createObject(2886,291.7999878,92.5000000,1007.7999878,0.0000000,0.0000000,270.0000000, 1), --object(sec_keypad, 1), (1, 1),
createObject(2193,290.6000061,98.8000031,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(med_office2_desk_2, 1), (4, 1),
createObject(2193,291.6000061,96.9000015,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(med_office2_desk_2, 1), (5, 1),
createObject(2193,291.6000061,100.6999969,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(med_office2_desk_2, 1), (6, 1),
createObject(2193,290.6000061,102.5999985,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(med_office2_desk_2, 1), (7, 1),
createObject(2193,291.6000061,104.5000000,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(med_office2_desk_2, 1), (8, 1),
createObject(2193,290.6000061,106.4000015,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(med_office2_desk_2, 1), (9, 1),
createObject(2193,301.6000061,97.8000031,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(med_office2_desk_2, 1), (10, 1),
createObject(2193,300.6000061,99.6999969,1007.5999756,0.0000000,0.0000000,270.0000000, 1), --object(med_office2_desk_2, 1), (11, 1),
createObject(2193,301.6000061,101.5999985,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(med_office2_desk_2, 1), (12, 1),
createObject(2193,300.6000061,103.5000000,1007.5999756,0.0000000,0.0000000,270.0000000, 1), --object(med_office2_desk_2, 1), (13, 1),
createObject(2193,301.6000061,105.4000015,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(med_office2_desk_2, 1), (14, 1),
createObject(2193,300.6000061,107.3000031,1007.5999756,0.0000000,0.0000000,270.0000000, 1), --object(med_office2_desk_2, 1), (15, 1),
createObject(1671,300.8999939,101.0999985,1008.0000000,0.0000000,0.0000000,0.0000000, 1), --object(swivelchair_a, 1), (2, 1),
createObject(1671,301.0000000,97.4000015,1008.0000000,0.0000000,0.0000000,0.0000000, 1), --object(swivelchair_a, 1), (3, 1),
createObject(1671,301.1000061,105.0000000,1008.0000000,0.0000000,0.0000000,0.0000000, 1), --object(swivelchair_a, 1), (4, 1),
createObject(1671,301.0000000,106.5999985,1008.0000000,0.0000000,0.0000000,90.0000000, 1), --object(swivelchair_a, 1), (5, 1),
createObject(1671,301.1000061,102.8000031,1008.0000000,0.0000000,0.0000000,90.0000000, 1), --object(swivelchair_a, 1), (6, 1),
createObject(1671,301.0000000,98.9000015,1008.0000000,0.0000000,0.0000000,90.0000000, 1), --object(swivelchair_a, 1), (7, 1),
createObject(1671,291.2999878,97.5000000,1008.0000000,0.0000000,0.0000000,270.0000000, 1), --object(swivelchair_a, 1), (8, 1),
createObject(1671,291.2000122,99.0000000,1008.0000000,0.0000000,0.0000000,180.0000000, 1), --object(swivelchair_a, 1), (9, 1),
createObject(1671,291.2999878,101.5000000,1008.0000000,0.0000000,0.0000000,270.0000000, 1), --object(swivelchair_a, 1), (10, 1),
createObject(1671,291.2000122,102.8000031,1008.0000000,0.0000000,0.0000000,180.0000000, 1), --object(swivelchair_a, 1), (11, 1),
createObject(1671,291.1000061,105.0999985,1008.0000000,0.0000000,0.0000000,270.0000000, 1), --object(swivelchair_a, 1), (12, 1),
createObject(1671,291.1000061,106.6999969,1008.0000000,0.0000000,0.0000000,180.0000000, 1), --object(swivelchair_a, 1), (13, 1),
createObject(2172,298.1000061,96.8000031,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(med_office2_desk_1, 1), (1, 1),
createObject(2205,300.2000122,121.3000031,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(med_office8_desk_1, 1), (1, 1),
createObject(2614,296.6000061,115.3000031,1009.5999756,0.0000000,0.0000000,0.0000000, 1), --object(cj_us_flag, 1), (1, 1),
createObject(1671,299.3999939,122.3000031,1008.0000000,0.0000000,0.0000000,0.0000000, 1), --object(swivelchair_a, 1), (14, 1),
createObject(2190,299.2999878,121.0999985,1008.5000000,0.0000000,0.0000000,165.0000000, 1), --object(pc_1, 1), (1, 1),
createObject(2886,298.1000061,115.3000031,1009.2999878,0.0000000,0.0000000,0.0000000, 1), --object(sec_keypad, 1), (2, 1),
createObject(3062,297.3500061,115.4000015,1009.0000000,0.0000000,0.0000000,0.0000000, 1), --object(container_door, 1), (1, 1),
createObject(3062,287.5400085,115.5000000,1009.0000000,0.0000000,0.0000000,0.0000000, 1), --object(container_door, 1), (2, 1),
createObject(3062,291.8999939,91.5999985,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(container_door, 1), (3, 1),
createObject(3062,293.7000122,85.8000031,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(container_door, 1), (4, 1),
createObject(1703,301.8999939,84.8000031,1005.0000000,0.0000000,0.0000000,45.0000000, 1), --object(kb_couch02, 1), (4, 1),
createObject(2964,309.2000122,83.4000015,1005.0000000,0.0000000,0.0000000,0.0000000, 1), --object(k_pooltablesm, 1), (1, 1),
createObject(3003,308.6000061,83.4000015,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballcue, 1), (1, 1),
createObject(3002,309.2000122,83.4000015,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt01, 1), (1, 1),
createObject(3001,309.2999878,83.4000015,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp07, 1), (1, 1),
createObject(3000,309.2999878,83.5000000,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp06, 1), (1, 1),
createObject(2999,309.2999878,83.3000031,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp05, 1), (1, 1),
createObject(2998,309.3999939,83.1999969,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp04, 1), (1, 1),
createObject(2997,309.3999939,83.3000031,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp03, 1), (1, 1),
createObject(2996,309.3999939,83.5000000,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp02, 1), (1, 1),
createObject(2995,309.3999939,83.5999985,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballstp01, 1), (1, 1),
createObject(3106,309.3999939,83.4000015,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolball8, 1), (1, 1),
createObject(3105,309.5000000,83.6999969,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt07, 1), (1, 1),
createObject(3104,309.5000000,83.5999985,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt06, 1), (1, 1),
createObject(3103,309.5000000,83.5000000,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt05, 1), (1, 1),
createObject(3102,309.5000000,83.4000015,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt04, 1), (1, 1),
createObject(3101,309.5000000,83.3000031,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt03, 1), (1, 1),
createObject(3100,309.5000000,83.1999969,1005.9000244,0.0000000,0.0000000,0.0000000, 1), --object(k_poolballspt02, 1), (1, 1),
createObject(2965,308.8281250,82.9267578,1005.7675781,0.0000000,0.0000000,0.0000000, 1), --object(k_pooltriangle01, 1), (1, 1),
createObject(2619,311.2999878,85.5000000,1006.7999878,0.0000000,0.0000000,0.0000000, 1), --object(mp_ammoambient, 1), (1, 1),
createObject(1808,294.2000122,111.0999985,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(cj_watercooler2, 1), (1, 1),
createObject(2132,307.6000061,79.3000031,1005.0000000,0.0000000,0.0000000,180.0000000, 1), --object(cj_kitch2_sink, 1), (1, 1),
createObject(2149,307.6000061,79.0999985,1006.2000122,0.0000000,0.0000000,180.0000000, 1), --object(cj_microwave1, 1), (1, 1),
createObject(2131,311.1000061,81.0000000,1005.0000000,0.0000000,0.0000000,270.0000000, 1), --object(cj_kitch2_fridge, 1), (1, 1),
createObject(2297,305.6000061,79.3000031,1005.0000000,0.0000000,0.0000000,135.0000000, 1), --object(tv_unit_2, 1), (1, 1),
createObject(1778,310.8999939,86.8000031,1005.0000000,0.0000000,0.0000000,0.0000000, 1), --object(cj_mop_pail, 1), (1, 1),
createObject(2186,290.2999878,109.0000000,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(photocopier_1, 1), (1, 1),
createObject(2627,301.8999939,80.0999985,1005.0000000,0.0000000,0.0000000,0.0000000, 1), --object(gym_treadmill, 1), (1, 1),
createObject(2628,303.1000061,79.5000000,1005.0000000,0.0000000,0.0000000,180.0000000, 1), --object(gym_bench2, 1), (1, 1),
createObject(3062,282.8999939,87.3000031,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(container_door, 1), (5, 1),
createObject(2886,284.0000000,87.3000031,1007.9000244,0.0000000,0.0000000,180.0000000, 1), --object(sec_keypad, 1), (3, 1),
createObject(2886,294.5000000,85.9000015,1007.7000122,0.0000000,0.0000000,180.0000000, 1), --object(sec_keypad, 1), (4, 1),
createObject(2571,301.1000061,120.0999985,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(hotel_single_1, 1), (1, 1),
createObject(1702,297.1000061,116.4000015,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(kb_couch06, 1), (1, 1),
createObject(1702,293.7000122,117.5000000,1007.5999756,0.0000000,0.0000000,90.0000000, 1), --object(kb_couch06, 1), (2, 1),
createObject(2007,297.7999878,123.4000015,1007.5999756,0.0000000,0.0000000,0.0000000, 1), --object(filing_cab_nu01, 1), (1, 1),
createObject(2007,293.7999878,96.8000031,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(filing_cab_nu01, 1), (2, 1),
createObject(2267,301.3999939,115.9000015,1009.5000000,0.0000000,0.0000000,180.0000000, 1), --object(frame_wood_3, 1), (1, 1),
createObject(2008,291.1000061,118.6999969,1007.5999756,0.0000000,0.0000000,180.0000000, 1), --object(officedesk1, 1), (1, 1),
createObject(2008,287.0000000,118.4000015,1007.5999756,0.0000000,0.0000000,270.0000000, 1), --object(officedesk1, 1), (2, 1),
createObject(1671,290.3999939,119.5999985,1008.0000000,0.0000000,0.0000000,0.0000000, 1), --object(swivelchair_a, 1), (15, 1),
createObject(1671,286.1000061,117.1999969,1008.0000000,0.0000000,0.0000000,90.0000000, 1) --object(swivelchair_a) (16)
}

--local col = createColSphere(227.60000610,116.80000305,999.20001221,0)
--removeWorldModel(14847, 5, 246.23500061,117.80500031,1005.60998535, 10)
--[[
local function watchChanges( )
	if getElementDimension( getLocalPlayer( ) ) > 0 and getElementDimension( getLocalPlayer( ) ) ~= getElementDimension( objects[1] ) and getElementInterior( getLocalPlayer( ) ) == getElementInterior( objects[1] ) then
		for key, value in pairs( objects ) do
			setElementDimension( value, getElementDimension( getLocalPlayer( ) ) )
		end
	elseif getElementDimension( getLocalPlayer( ) ) == 0 and getElementDimension( objects[1] ) ~= 65535 then
		for key, value in pairs( objects ) do
			setElementDimension( value, 65535 )
		end
	end
end
addEventHandler( "onClientColShapeHit", col,
	function( element )
		if element == getLocalPlayer( ) then
			addEventHandler( "onClientRender", root, watchChanges )
		end
	end
)
addEventHandler( "onClientColShapeLeave", col,
	function( element )
		if element == getLocalPlayer( ) then
			removeEventHandler( "onClientRender", root, watchChanges )
		end
	end
)]]
-- Put them standby for now.
for key, value in pairs( objects ) do
	setElementDimension( value, 598)
	setElementInterior( value, 1)
	setElementDoubleSided ( value, true )
	setElementCollisionsEnabled ( value, true )
end
