> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/framework/framework/player/get-player-citizen-id.md).

# GetPlayerCitizenId

Returns the player's citizen ID or identifier.

{% hint style="info" %}
**Side:** Client / Server · **Category:** Framework · **API:** `LT.Framework.GetPlayerCitizenId`
{% endhint %}

## Example

```lua
-- Client
local citizenId = LT.Framework.GetPlayerCitizenId()

-- Server
local citizenId = LT.Framework.GetPlayerCitizenId(source)
```

## Parameters

| Name     | Required    | Description      |
| -------- | ----------- | ---------------- |
| `source` | Server only | Player server ID |

## Returns

* `string|nil`
