0 Members and 1 Guest are viewing this topic.
function DoesFileExist(Name: string): boolean;begin if (GetSystem() = 'windows') then begin if (FileExists(Name)) then begin result:= true; end; end else begin if ((FileExists(Name)) or (ReadFromFile(Name) <> '')) then begin result:= true; end; end;end;
Using FileExists in the script will only work for windows based servers, but on most linux servers the script won't work properly.
This the first time I hear that. Are you sure?
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce
Does it also load any gamemode at a time if the admin wants so? Like /g DM and it makes the server be DM?
Changes from 2.6.3 -> 2.6.4- Fixed FileExists incompatibility with certain Operating Systems