19.11.2018, 21:11
I have a question. As typing "exit" or "gmx" on the CMD console in Windows, not it saves me nothing. Why?
public OnGameModeExit()
{
new name[35 + 3];
for(new i, j = sizeof(TurfInfo); i < j; i++)
{
format(name, sizeof(name), "%s%i", TurfInfo[i][TurfName], i);
dini_IntSet("turfs.ini", name, TurfInfo[i][TurfOwner]);
}
return 1;
}
|
Originally Posted by Wiki
Description:
This callback is called when a gamemode ends, either through 'gmx', the server being shut down, or GameModeExit. |