Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnGameModeExit()
- {
- #if Debug
- print("OnGameModeExit()");
- #endif
- Audio_DestroyTCPServer();
- DOF2_Exit();
- FadeExit();
- #if mapandreas
- MapAndreas_Unload();
- #endif
- KillTimer(Setting(setting_globtimer));
- KillTimer(Setting(setting_opttimer));
- #if OFFICIAL
- for(new carid; carid != MAX_VEHICLES; carid++)
- {
- if(!Vehicle(carid, vehicle_uid)) continue;
- if(Vehicle(carid, vehicle_vehID) == INVALID_VEHICLE_ID) continue;
- UnSpawnVeh(carid);
- }
- foreach(Server_Doors, doorid)
- {
- SaveDoor(doorid);
- }
- #endif
- foreach(Player, playerid)
- {
- Player(playerid, player_spawned) = false;
- OnPlayerLoginOut(playerid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement