AMX Mod X API Documentation

Signature
native bool:rh_is_entity_fullpacked(const host, const entity, const frame = -1);
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.

Notes
  • To check in the current frame, this native should be called at the end of the server frame.
Parameters
  • 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.
Returns

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.

Назад
Верх