IS_PLAYER_PLAYING
Checks whether the specified player has a Ped, the Ped is not dead, is not injured and is not arrested.
Hash
0xBFFB35986CAAE58CRuntime name
IsPlayerPlayingNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5E9564D8246B909ASignature
BOOL IS_PLAYER_PLAYING(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns BOOL
Description
Checks whether the specified player has a Ped, the Ped is not dead, is not injured and is not arrested.
Usage
local retval = IsPlayerPlaying(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBFFB35986CAAE58C, player, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerPlaying(player);
// by hash
const retval = Citizen.invokeNative('0xBFFB35986CAAE58C', player, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xBFFB35986CAAE58C, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.