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