The script didn't work.
(I also did the second script: menu, draw actor, Script Editor
- Code: Select all
FILE*file;
PlayB_Var = PlayB.x;
Menu_var = Menu.x;
QuitB_Var = QuitB.x;
Register_Var = Register.x;
registerthegame_Var = registerthegame.x;
Seirial_Var = Seirial.x;
sep_Var = sep.x;
session_Var = session.x;
Sessions_Var = Sessions.x;
file = fopen("Game", "w+b");
fwrite(&PlayB_Var, sizeof(PlayB_Var), 1, file);
fwrite(&Menu_var, sizeof(Menu_var), 1, file);
fwrite(&QuitB_Var, sizeof(QuitB_Var), 1, file);
fwrite(&Register_Var, sizeof(Register_Var), 1, file);
fwrite(&Seirial_Var, sizeof(Seirial_Var), 1, file);
fwrite(&Sessions_Var, sizeof(Sessions_Var), 1, file);
fwrite(®isterthegame_Var, sizeof(registerthegame_Var), 1, file);
fwrite(&sep_Var, sizeof(sep_Var), 1, file);
fwrite(&session_Var, sizeof(session_Var), 1, file);
fclose(file);
Any suggestsions?