> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-gangs/exports/client-side.md).

# Client Side

{% hint style="warning" %}
If you're looking for Other Data then listed Here and in Server-Side Exports - Feel free to contact us on our [Discord Server](https://discord.gg/otherplanet)!
{% endhint %}

## isInTurfZone

return Turf Zone `index` when inside or `nil`

```lua
exports['op-crime']:isInTurfZone()
```

***

## getPlayerOrganisation

Table:

* id: `number`
* label: `string`
* entranceCoords: `vec4`

```lua
exports['op-crime']:getPlayerOrganisation()
```

***

## playerGaragePermission

return `boolean` value in callback.

```lua
exports['op-crime']:playerGaragePermission(function(hasPerms)
    print(hasPerms)
end)
```

***

## isInsideFurnituresMenu

return `boolean` value.

```lua
exports['op-crime']:isInsideFurnituresMenu()
```

## Furnitures menu toggle handler

If you want to fetch information when player enters/leave furnitures menu

```lua
RegisterNetEvent("op-crime:userEnteredFurnituresMenu", function()
  -- Your Code
end)

RegisterNetEvent("op-crime:userLeftFurnituresMenu", function()
  -- Your Code
end)
```
