# int CheckLsaPath(int, int, int)

[Family: Global](/en/CKS/familias/global/)

## Exact signature

```text
int CheckLsaPath(int, int, int)
```

## Description

Checks whether there is a path between two search areas (LSA) for a player. Returns 1 when both LSAs are the same and 0 when they are of different types.

## Usage notes

The third argument is the player number counted from 1. The result for two different LSAs of the same type has not been observed.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `int` |
| 2 | `int` |
| 3 | `int` |

## Read and share

- [Markdown](/exports/en/cks/api-fbb0bf10ad381c.md)
- [JSON](/CKS/api/entries/api-fbb0bf10ad381c?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
