Oh sorry, I should have made myself more clear.
Problem solved anyway
What I've done is used a void this time, finding I couldn't make the variables global there, then I put the variables somewhere else where they are global and hey presto, fixed
Just to give you an idea of what I did;
And then I would place
IrrlichtDevice *device = 0;
video::IVideoDriver* driver = 0;
scene::ISceneManager* smgr = 0;
IGUIEnvironment* guienv = 0;
scene::IAnimatedMesh* q3levelmesh = 0;
scene::ISceneNode* q3node = 0;
scene::ITriangleSelector* selector = 0;
device = createDevice(EDT_OPENGL, dimension2d<s32>(800, 600), 32, false, true, true, 0);
driver = device->getVideoDriver();
smgr = device->getSceneManager();
guienv = device->getGUIEnvironment();
in int main();
and it works.
But thanks for offering your help, 'tis appreciated.