| 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 oftoggle(BOOL) — Whether or not the entity will be visibleunk(BOOL) — Always 0 in scripts
Examples
SetEntityVisible(PlayerPedId(), false, 0)