IS_PLAYER_SCRIPT_CONTROL_ON
Hash
0xB78350754157C00FRuntime name
IsPlayerScriptControlOnNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x8A876A65283DD7D7Signature
BOOL IS_PLAYER_SCRIPT_CONTROL_ON(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns BOOL
Usage
local retval = IsPlayerScriptControlOn(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB78350754157C00F, player, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerScriptControlOn(player);
// by hash
const retval = Citizen.invokeNative('0xB78350754157C00F', player, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB78350754157C00F, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.