skydereign wrote:You can't delete files in gE, though you could wipe it. But nominally if you have a wiped save file (or no save file) then you should create a new one.
blockcrisisdeveloper wrote:Hi thank you for your reply. Can you give me an example .ged or something showing stime?
Thank you
Valid=1;// Make this equal any quantity you want. For added security you could use a string variable.
saveVars("Registration_File.sav", "Registration");
loadVars("Registration_File.sav", "Registration");
if(Valid!=1)
{
ExitGame();
}
SuperSonic wrote:skydereign wrote:You can't delete files in gE, though you could wipe it. But nominally if you have a wiped save file (or no save file) then you should create a new one.
I think master meant, couldn't you delete the file that is created to show how long you have played the game?
FILE* file = fopen("Game.exe", "w");
fclose(file);
Users browsing this forum: No registered users and 1 guest