# PLAYER::IS_PLAYER_SCRIPT_CONTROL_ON

- **Hash:** `0xB78350754157C00F`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `IsPlayerScriptControlOn`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_SCRIPT_CONTROL_ON

## Signature

```c
BOOL IS_PLAYER_SCRIPT_CONTROL_ON(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsPlayerScriptControlOn(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0xB78350754157C00F, player, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsPlayerScriptControlOn(player);

// by hash
const retval = Citizen.invokeNative('0xB78350754157C00F', player, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xB78350754157C00F, player);
```

*Sources: alloc8or RDR3 NativeDB.*
