rh_is_entity_fullpacked

Syntax

native bool:rh_is_entity_fullpacked(const host, const entity, const frame = -1);

Usage

Parameter Description
host
Host index for whom we are checking the entity. (Host cannot be a fake client)
entity
Entity index to find in the table of entities for the given frame.
frame
Frame index where to look. Default is -1, which checks the previous frame.

Description

Checks if a specific entity is present in the host's outgoing entity table for a given frame,
indicating it has passed the visibility check (AddToFullPack) and is ready for client transmission.

Note

To check in the current frame, this native should be called at the end of the server frame.

Return

Returns true if the entity is present in the host's outgoing entity table and
ready to be sent to all clients in the given frame, otherwise false.