local objectsSpawned = {}
function createTheObjects( thePlayer,objectID,objectPosX,objectPosY,objectPosZ, objectRotX, objectRotY, objectRotZ )
obj = createObject( thePlayer,objectID,objectPosX,objectPosY,objectPosZ, objectRotX, objectRotY, objectRotZ )
setElementDoubleSided (obj,true)
if (not objectsSpawned[client]) then
objectsSpawned[client] = {}
end
table.insert ( objectsSpawned [ client ], obj )
end
addEvent("createObjects",true)
addEventHandler("createObjects",root,createTheObjects)