---
title: "GetPlayerLandingGearState | open.mp"
description: "Gets the landing gear state of the current player's vehicle."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/GetPlayerLandingGearState
language: th
---

# GetPlayerLandingGearState

warning

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

## Description

Gets the [landing gear state](https://omp.itsneufox.com/th/docs/scripting/resources/landinggearstate) of the current player's vehicle.

## Parameters

| Name | Description |
| --- | --- |
| playerid | The ID of the player. |

## Examples

```c
new LANDING_GEAR_STATE:landingGearState = GetPlayerLandingGearState(playerid);
```

## Related Functions

-   [GetVehicleLandingGearState](https://omp.itsneufox.com/th/docs/scripting/functions/GetVehicleLandingGearState): Gets the current vehicle landing gear state from the latest driver.

## Related Resources

-   [Vehicle Landing Gear States](https://omp.itsneufox.com/th/docs/scripting/resources/landinggearstate)
