# str GetPlayerScript(int, int)

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

## Exact signature

```text
str GetPlayerScript(int, int)
```

## Description

Returns one of eight stored script strings for a validated one-based player number.

## Parameters and return type

**Return type:** `str`

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

## Read and share

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

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