pawn Код:
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{ OnPlayerSave(i); }
}
for(new objectid; objectid<F_MAX_OBJECTS; objectid++)
{
F_DestroyObject(objectid);
}
F_ObjectUpdate(false);
DOF2_Exit();
return 1;
}