---
title: "GameModeExit | open.mp"
description: "Ends the current gamemode."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/GameModeExit
language: th
---

# GameModeExit

## คำอธิบาย

Ends the current gamemode.

| Name | Description |
| --- | --- |

## ตัวอย่าง

```c
if (OneTeamHasWon)
{
    GameModeExit();
}
```

## ฟังก์ชั่นที่เกี่ยวข้องกัน
