Native referenceFiveM

SET_ENTITY_VISIBLE

0xEA1C610A04DB6BBB ENTITY
FUNCTION SIGNATURE
void SET_ENTITY_VISIBLE(Entity entity, BOOL toggle, BOOL unk);
Property Value
Native Name SET_ENTITY_VISIBLE
Hash 0xEA1C610A04DB6BBB
Return Type void
Parameters entity (Entity), toggle (BOOL), unk (BOOL)

Description: Toggle the visibility of a given entity.

Parameters

  • entity (Entity) — The entity to change the visibility of
  • toggle (BOOL) — Whether or not the entity will be visible
  • unk (BOOL) — Always 0 in scripts

Examples

SetEntityVisible(PlayerPedId(), false, 0)
Back to ENTITY