Oops did not mean to hijack my own topic... Here it is again, in the right topic.
strcat(DatFileName,(char *)STRING(gpGlobals->mapname)); strcat(DatFileName,".dat"); file://see if the mapname.dat is there if(access(DatFileName,04) == 0)//find the original mapname.dat first { I am unfamialer with teh access function, and cannot find any referances to it in any of my C/C++ books. The above function works fine, but I need to know if it is checking the first 4 leters or teh last 4 leters of teh file name. Or just what teh 04 is for? Dave PS I am working to update an old mod, and I cannot get hold of the original coder. 8) _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders